Changed to nginx based server removing need for hosting software. Project is pure front-end.
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
FROM nginx:alpine
|
||||
|
||||
# Remove default nginx index.html
|
||||
RUN rm /usr/share/nginx/html/index.html
|
||||
|
||||
# Copy static website files
|
||||
COPY wwwroot/ /usr/share/nginx/html/
|
||||
|
||||
# Expose port 80
|
||||
EXPOSE 80
|
||||
|
||||
# Run nginx in foreground
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
Reference in New Issue
Block a user