First working version

This commit is contained in:
2022-03-23 12:56:27 +00:00
parent 908fa16213
commit fa89a9b6f9
3 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
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;"