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 fa3a0f8bc8
) allows the container to be used on rkt based systems.
lolsob-rspec
parent
8ae8e9268e
commit
6d6154eec0
|
@ -123,3 +123,4 @@ RUN cd ~ && \
|
|||
# Set the work dir and the container entry point
|
||||
WORKDIR /opt/mastodon
|
||||
ENTRYPOINT ["/tini", "--"]
|
||||
EXPOSE 3000 4000
|
||||
|
|
Loading…
Reference in New Issue