aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile
blob: df889349839d9ba4c0369706f33a50deeec7ed3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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/"]