# 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 all your app's files into the Nginx directory COPY . /usr/share/nginx/html # Expose port 80 EXPOSE 80