mirror of
https://github.com/bastienwirtz/homer.git
synced 2024-11-07 08:44:00 +01:00
Update Dockerfile
This commit is contained in:
parent
7d5c71d7ae
commit
fc69081c94
@ -2,14 +2,14 @@ FROM alpine:3.11
|
||||
|
||||
COPY ./ /www/
|
||||
|
||||
ENV USER abc
|
||||
ENV GROUP abc
|
||||
ENV USER darkhttpd
|
||||
ENV GROUP darkhttpd
|
||||
ENV GID 911
|
||||
ENV UID 911
|
||||
|
||||
RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \
|
||||
apk add -U darkhttpd
|
||||
|
||||
USER abc
|
||||
USER darkhttpd
|
||||
|
||||
ENTRYPOINT ["darkhttpd","/www/"]
|
||||
|
Loading…
Reference in New Issue
Block a user