aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile.arm32v7
blob: 58a1834a2db57fb1900e959f00346b6044e5c2c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM arm32v7/alpine:3.11
COPY qemu-arm-static /usr/bin

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