mirror of
https://github.com/bastienwirtz/homer.git
synced 2025-12-20 15:19:49 +01:00
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
FROM alpine:3.11
|
||||||
|
|
||||||
|
COPY ./ /www/
|
||||||
|
|
||||||
|
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 darkhttpd
|
||||||
|
|
||||||
|
ENTRYPOINT ["darkhttpd","/www/"]
|
||||||
Reference in New Issue
Block a user