first template launch

This commit is contained in:
Michael DiLeo
2025-08-13 19:10:31 -05:00
parent 12eadac926
commit f23531dd70
11 changed files with 902 additions and 23 deletions

View File

@@ -1,13 +1,24 @@
FROM nginx:1.25-alpine
# Create nginx user and required directories with proper permissions
RUN mkdir -p /var/cache/nginx/client_temp \
/var/cache/nginx/proxy_temp \
/var/cache/nginx/fastcgi_temp \
/var/cache/nginx/uwsgi_temp \
/var/cache/nginx/scgi_temp \
/tmp \
&& chown -R nginx:nginx /var/cache/nginx \
&& chown -R nginx:nginx /tmp \
&& chmod -R 755 /var/cache/nginx \
&& chmod -R 755 /tmp
COPY nginx.conf /etc/nginx/nginx.conf
COPY public/ /usr/share/nginx/html/
COPY dist/ /usr/share/nginx/html/
RUN chown -R nginx:nginx /usr/share/nginx/html \
&& chmod -R 755 /usr/share/nginx/html
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD wget --no-verbose --tries=1 --spider http://localhost/ || exit 1