initial template for static sites

This commit is contained in:
2026-03-13 17:36:14 -04:00
commit 7e3eaa09ea
6 changed files with 69 additions and 0 deletions
+12
View File
@@ -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