mirror of
https://github.com/bastienwirtz/homer.git
synced 2024-12-26 16:48:51 +01:00
16 lines
272 B
Docker
16 lines
272 B
Docker
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/", "--no-listing"]
|