Servicespage/Dockerfile

18 lines
269 B
Docker
Raw Normal View History

2020-03-11 23:27:20 +00:00
FROM alpine:3.11
COPY ./ /www/
ENV USER darkhttpd
ENV GROUP darkhttpd
ENV GID 911
ENV UID 911
2020-03-18 01:33:04 +00:00
EXPOSE 8080
2020-03-18 01:27:11 +00:00
2020-03-11 23:27:20 +00:00
RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \
apk add -U darkhttpd
USER darkhttpd
ENTRYPOINT ["darkhttpd","/www/"]