Servicespage/Dockerfile
Pablo 6de341ac99
All checks were successful
continuous-integration/drone/push Build is passing
Expose port in Dockerfile
2020-03-18 02:27:11 +01:00

18 lines
267 B
Docker

FROM alpine:3.11
COPY ./ /www/
ENV USER darkhttpd
ENV GROUP darkhttpd
ENV GID 911
ENV UID 911
EXPOSE 80
RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \
apk add -U darkhttpd
USER darkhttpd
ENTRYPOINT ["darkhttpd","/www/"]