Skip to content

Commit

Permalink
Dockerfile: put back EXPOSE directive (mastodon#12279)
Browse files Browse the repository at this point in the history
[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 3b609da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.