CS104_Assignment_1/Dockerfile
2025-09-12 02:32:33 +00:00

11 lines
256 B
Docker

# Use the official Nginx image as the base image
FROM nginx:alpine
# Copy the local files to the Nginx default directory
COPY . /usr/share/nginx/html
# Expose port 80
EXPOSE 80
# Start Nginx when the container launches
CMD ["nginx", "-g", "daemon off;"]