Skip to content

Commit

Permalink
feat: Add simple logging (#20)
Browse files Browse the repository at this point in the history
The container is totally silent, I think most would expect / want some logs. This PR enables minimal logs
  • Loading branch information
gitshawn authored Sep 15, 2021
1 parent fee28f9 commit b14fbb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ ADD index.html /www/index.html
HEALTHCHECK CMD nc -z localhost $PORT

# Create a basic webserver and run it until the container is stopped
CMD trap "exit 0;" TERM INT; httpd -p $PORT -h /www -f & wait
CMD echo "httpd started" && trap "exit 0;" TERM INT; httpd -v -p $PORT -h /www -f & wait

0 comments on commit b14fbb1

Please sign in to comment.