aboutsummaryrefslogblamecommitdiffhomepage
path: root/Dockerfile
blob: 7621639c17956b6c95fdf5147fad9877d484daea (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12



                

                   





                                                                                   
              
 
                                                
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"]