Skip to content
Permalink
Browse files

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 1dbf993) allows the container to be used on rkt based systems.
  • Loading branch information...
caldwell authored and Gargron committed Nov 4, 2019
1 parent 23ed930 commit 3b609da9bdf9cbfc7fe2080b23735533764771ed
Showing with 1 addition and 0 deletions.
  1. +1 −0 Dockerfile
@@ -123,3 +123,4 @@ RUN cd ~ && \
# Set the work dir and the container entry point
WORKDIR /opt/mastodon
ENTRYPOINT ["/tini", "--"]
EXPOSE 3000 4000

0 comments on commit 3b609da

Please sign in to comment.
You can’t perform that action at this time.