# Use the official Nginx image as the base image FROM nginx:alpine # Remove the default Nginx static files RUN rm -rf /usr/share/nginx/html/* # Copy public directory contents into the Nginx directory COPY public/ /usr/share/nginx/html/ COPY src/ /usr/share/nginx/html/src/ # Expose port 80 EXPOSE 80