13 lines
232 B
Docker
13 lines
232 B
Docker
# 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
|
|
|