site updates
This commit is contained in:
Regular → Executable
+7
-8
@@ -8,25 +8,24 @@ FROM php:8.3-fpm-alpine
|
||||
RUN apk add --no-cache nginx supervisor curl tini \
|
||||
&& mkdir -p /run/nginx /var/log/supervisor
|
||||
|
||||
COPY infra/nginx.conf /etc/nginx/nginx.conf
|
||||
RUN printf 'user www-data;\nworker_processes auto;\npid /run/nginx.pid;\nerror_log /dev/stderr warn;\nevents { worker_connections 1024; }\nhttp {\n include /etc/nginx/mime.types;\n default_type application/octet-stream;\n access_log /dev/stdout;\n sendfile on;\n tcp_nopush on;\n keepalive_timeout 65;\n include /etc/nginx/conf.d/*.conf;\n}\n' > /etc/nginx/nginx.conf && \
|
||||
rm -f /etc/nginx/conf.d/default.conf /etc/nginx/http.d/default.conf 2>/dev/null || true
|
||||
COPY infra/nginx.conf /etc/nginx/conf.d/bigbreath.conf
|
||||
COPY infra/supervisord.conf /etc/supervisord.conf
|
||||
COPY infra/php-fpm-pool.conf /usr/local/etc/php-fpm.d/zzz-pool.conf
|
||||
|
||||
COPY src/index.html /var/www/html/index.html
|
||||
COPY src/404.html /var/www/html/404.html
|
||||
COPY src/500.html /var/www/html/500.html
|
||||
COPY src/robots.txt /var/www/html/robots.txt
|
||||
COPY src/sitemap.xml /var/www/html/sitemap.xml
|
||||
COPY src/llms.txt /var/www/html/llms.txt
|
||||
|
||||
COPY src/about /var/www/html/about/
|
||||
COPY src/contact /var/www/html/contact/
|
||||
COPY src/services /var/www/html/services/
|
||||
COPY src/privacy-policy /var/www/html/privacy-policy/
|
||||
COPY src/terms-of-service /var/www/html/terms-of-service/
|
||||
|
||||
COPY src/assets /var/www/html/assets/
|
||||
COPY src/api/contact.php /var/www/html/api/contact.php
|
||||
COPY src/api/router.php /var/www/html/api/router.php
|
||||
COPY src/api/templates /var/www/html/api/templates/
|
||||
COPY src/api/components /var/www/html/api/components/
|
||||
COPY src/api/data /var/www/html/api/data/
|
||||
|
||||
RUN chown -R www-data:www-data /var/www/html
|
||||
|
||||
|
||||
Reference in New Issue
Block a user