hugo-site/Dockerfile

8 lines
230 B
Docker

FROM nginx:alpine
COPY ./public /var/www/html
# Literally copy nginx.conf file from the Dockerfile directory into /etc/nginx/conf.d/default.conf of the container
COPY ./nginx/nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80