deploy main site with docker
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
# Use a lightweight nginx image
|
||||
FROM nginx:alpine
|
||||
|
||||
# Copy your static files into the nginx web directory
|
||||
COPY . /usr/share/nginx/html
|
||||
|
||||
# Expose the port nginx serves from
|
||||
EXPOSE 80
|
||||
|
||||
# Start nginx
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
Reference in New Issue
Block a user