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