| # Use an official Nginx image to serve the static files | |
| FROM nginx:alpine-slim | |
| # Set the working directory inside the container | |
| WORKDIR /usr/share/nginx/html | |
| # Copy the production build from the dist folder to the Nginx HTML directory | |
| COPY dist/ . | |
| COPY nginx.conf /etc/nginx/conf.d/default.conf | |
| # Expose the default Nginx port | |
| EXPOSE 7860 | |
| # Nginx runs by default, no need to specify CMD |