12 lines
274 B
Docker
12 lines
274 B
Docker
|
# Use a minimal base image to serve static files
|
||
|
FROM nginx:alpine
|
||
|
|
||
|
# Copy the built files from the local system to the nginx web root
|
||
|
COPY build /usr/share/nginx/html
|
||
|
|
||
|
# Expose port 80 for serving the application
|
||
|
EXPOSE 80
|
||
|
|
||
|
# Start Nginx
|
||
|
CMD ["nginx", "-g", "daemon off;"]
|