From 6d6154eec09a269fb4b61e4c39ac1125b9e9c4c1 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 fa3a0f8bc87047e50b7a03670e32e9ca7c345102) allows the container to be used on rkt based systems. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index e963674a55..eaa92f0c22 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