mirror of https://github.com/statping/statping
dockerfile run as user based on env vars
parent
4c6b9e6a35
commit
744ddfe52f
|
@ -15,6 +15,10 @@ ENV IS_DOCKER=true
|
|||
ENV SASS=/usr/local/bin/sassc
|
||||
ENV STATPING_DIR=/app
|
||||
ENV PORT=8080
|
||||
ENV UID=1000
|
||||
ENV GID=1000
|
||||
|
||||
USER $UID:$GID
|
||||
|
||||
EXPOSE $PORT
|
||||
|
||||
|
|
Loading…
Reference in New Issue