From: David Caldwell Date: Mon, 4 Nov 2019 11:56:21 +0000 (-0800) Subject: Dockerfile: put back EXPOSE directive (#12279) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=3b609da9bdf9cbfc7fe2080b23735533764771ed;p=mastodon.git 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. --- 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