Dockerfile
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
|||||||
|
# Use the official Nginx image
|
||||||
|
FROM nginx:alpine
|
||||||
|
|
||||||
|
# Remove default nginx static files
|
||||||
|
RUN rm -rf /usr/share/nginx/html/*
|
||||||
|
|
||||||
|
# Copy your static website into nginx public folder
|
||||||
|
COPY . /usr/share/nginx/html
|
||||||
|
|
||||||
|
# Expose port 80
|
||||||
|
EXPOSE 80
|
||||||
|
|
||||||
Reference in New Issue
Block a user