about summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
authorDavid Caldwell <david+github@porkrind.org>2019-11-04 03:56:21 -0800
committerEugen Rochko <eugen@zeonfederated.com>2019-11-04 12:56:21 +0100
commit3b609da9bdf9cbfc7fe2080b23735533764771ed (patch)
treeb4c79021cd88754e86e5330fffe96c27607da0b5 /Dockerfile
parent23ed9303b890f07715b7afaf0e1a18c13e40ea15 (diff)
Dockerfile: put back EXPOSE directive (#12279)
[Rkt](https://coreos.com/rkt) doesn't allow ports to be exposed to containers unless they are declared in the container manifest. Re-adding EXPOSE back in (removed in 1dbf993bce5627e2c3fcab6e9c63b5279dff018a) allows the container to be used on rkt based systems.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index e963674a5..eaa92f0c2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -123,3 +123,4 @@ RUN cd ~ && \
 # Set the work dir and the container entry point
 WORKDIR /opt/mastodon
 ENTRYPOINT ["/tini", "--"]
+EXPOSE 3000 4000