From 3b609da9bdf9cbfc7fe2080b23735533764771ed Mon Sep 17 00:00:00 2001 From: David Caldwell Date: Mon, 4 Nov 2019 03:56:21 -0800 Subject: [PATCH] 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. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index e963674a55e..eaa92f0c224 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