Files
homer-nginx/Dockerfile
2022-03-23 12:56:27 +00:00

12 lines
361 B
Docker

FROM alpine:latest
RUN apk add -U --no-cache nginx wget
RUN addgroup nginx1 && adduser -DG nginx1 nginx1
RUN wget https://github.com/bastienwirtz/homer/releases/download/v22.02.1/homer.zip && unzip -d /var/www/html/ homer.zip
COPY default.conf /etc/nginx/http.d/default.conf
USER nginx
ENTRYPOINT /usr/sbin/nginx -g "daemon off;error_log /dev/stdout info;"