Skip to content
Permalink
Browse files

Only expose 80/443

  • Loading branch information...
Cat5TV committed Aug 26, 2019
1 parent 006b7ab commit dbc82be9de4860ff0c937595ec7bc1684d1bd9cb
Showing with 4 additions and 1 deletion.
  1. +3 −0 build/160-docker
  2. +1 −1 notes/docker/stages/01/Dockerfile
@@ -12,4 +12,7 @@ if (( $platform == 21 )); then
echo "PATCH-000002" >> /var/log/nems/patches.log
fi

# Enable services that may not have been enabled automatically during build
systemctl enable monit

fi
@@ -37,6 +37,6 @@ RUN wget --no-check-certificate -O /tmp/nems-prep.sh https://raw.githubuserconte
chmod +x /tmp/nems-prep.sh && \
/tmp/nems-prep.sh

EXPOSE 22/tcp 80/tcp 443/tcp 2812/tcp 9090/tcp
EXPOSE 80/tcp 443/tcp

ENTRYPOINT ["/usr/bin/systemctl","default","--init"]

0 comments on commit dbc82be

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