initial template for static sites
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
FROM nginx:alpine
|
||||
|
||||
# Remove default content
|
||||
RUN rm -rf /usr/share/nginx/html/*
|
||||
|
||||
# static site
|
||||
COPY static /usr/share/nginx/html
|
||||
|
||||
# a custom nginx config
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
EXPOSE 80
|
||||
Reference in New Issue
Block a user