added custom nginx config file

This commit is contained in:
Rutger Hartog 2021-07-07 11:23:00 +02:00
parent b53e051a75
commit 372bf3685b
2 changed files with 26 additions and 1 deletions

View file

@ -1,3 +1,7 @@
FROM alpine:nginx
FROM nginx:stable-alpine
# Copy the contents of the repo to the container
COPY . /usr/share/nginx/html
# Move the customized nginx config file to the nginx folder
RUN mv /usr/share/nginx/html/.docker/default.conf /etc/nginx/conf.d/default.conf