13 lines
225 B
Docker
13 lines
225 B
Docker
# Use an official nginx image
|
|
FROM nginx:alpine
|
|
|
|
# Copy the static content into the Nginx server
|
|
COPY . /usr/share/nginx/html
|
|
|
|
# Expose port 80
|
|
EXPOSE 80
|
|
|
|
# Start Nginx and keep it running
|
|
CMD ["nginx", "-g", "daemon off;"]
|
|
|