From 556c8a46e1f26b31882d675b31ea10d2923c449c Mon Sep 17 00:00:00 2001 From: David Caldwell Date: Fri, 1 Nov 2019 20:54:49 -0700 Subject: [PATCH] Dockerfile: put back EXPOSE directive [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 e963674a55eda..eaa92f0c224cd 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