mirror of
https://github.com/bastienwirtz/homer.git
synced 2024-12-27 09:09:08 +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"]
|