mirror of
https://github.com/bastienwirtz/homer.git
synced 2024-11-07 08:44:00 +01:00
16 lines
238 B
Docker
16 lines
238 B
Docker
|
FROM alpine:3.11
|
||
|
|
||
|
COPY ./ /www/
|
||
|
|
||
|
ENV USER abc
|
||
|
ENV GROUP abc
|
||
|
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
|
||
|
|
||
|
ENTRYPOINT ["darkhttpd","/www/"]
|