Initial commit: site statique Dockerisé avec nginx
This commit is contained in:
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM nginx:alpine
|
||||
|
||||
# Copy static assets to nginx default html folder
|
||||
COPY index.html /usr/share/nginx/html/index.html
|
||||
|
||||
# Expose port 80
|
||||
EXPOSE 80
|
||||
|
||||
# Start nginx in foreground
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
Reference in New Issue
Block a user