mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
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 1dbf993bce
) allows the container to be used on rkt based systems.
This commit is contained in:
parent
23ed9303b8
commit
3b609da9bd
@ -123,3 +123,4 @@ RUN cd ~ && \
|
|||||||
# Set the work dir and the container entry point
|
# Set the work dir and the container entry point
|
||||||
WORKDIR /opt/mastodon
|
WORKDIR /opt/mastodon
|
||||||
ENTRYPOINT ["/tini", "--"]
|
ENTRYPOINT ["/tini", "--"]
|
||||||
|
EXPOSE 3000 4000
|
||||||
|
Loading…
Reference in New Issue
Block a user