dockerfile
This commit is contained in:
parent
b62a7fab45
commit
56a553bac9
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# 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;"]
|
Loading…
Reference in New Issue
Block a user