update Dockerfile and nginx config

This commit is contained in:
2021-10-22 23:19:22 +02:00
parent 0fa012c95d
commit c022aa318c
3 changed files with 56 additions and 2 deletions

View File

@@ -1,3 +1,11 @@
FROM nginx
FROM nginx:alpine
# set labels
LABEL org.opencontainers.image.authors="kasper.fischer@rub.de"
# copy nginx config files
COPY nginx/nginx.conf /etc/nginx/nginx.conf
COPY nginx/default.conf /etc/nginx/conf.d/default.conf
# copy webpage content
COPY www /usr/share/nginx/html
COPY nginx.conf /etc/nginx/nginx.conf