homer/Dockerfile.arm64v8

17 lines
294 B
Docker
Raw Normal View History

FROM arm64v8/alpine:3.11
2020-05-20 05:41:05 +02:00
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/"]