mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
tweaking, hardening
This commit is contained in:
@ -22,12 +22,12 @@ RUN apk -U upgrade && \
|
||||
chown -R head:head /usr/src/app/ && \
|
||||
|
||||
# Clean up
|
||||
apk del git
|
||||
apk del --purge git
|
||||
|
||||
# Healthcheck
|
||||
HEALTHCHECK --retries=10 CMD curl -s -XGET 'http://127.0.0.1:9100'
|
||||
|
||||
# Start elasticsearch-head
|
||||
USER head
|
||||
USER head:head
|
||||
WORKDIR /usr/src/app
|
||||
CMD ["node_modules/http-server/bin/http-server", "_site", "-p", "9100"]
|
||||
|
Reference in New Issue
Block a user