Skip to content

Commit

Permalink
Only expose 80/443
Browse files Browse the repository at this point in the history
  • Loading branch information
Cat5TV committed Aug 26, 2019
1 parent 006b7ab commit dbc82be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions build/160-docker
Expand Up @@ -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
2 changes: 1 addition & 1 deletion notes/docker/stages/01/Dockerfile
Expand Up @@ -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.