bake htpasswd into image, remove coming-soon route and template

This commit is contained in:
2026-06-08 20:01:29 +02:00
parent 7955294873
commit 79c19fef2b
4 changed files with 1 additions and 129 deletions
+1 -2
View File
@@ -27,8 +27,7 @@ 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/
ARG HTPASSWD_HASH
RUN echo "bigbreath:${HTPASSWD_HASH}" > /etc/nginx/.htpasswd
RUN echo 'bigbreath:$apr1$sTejUunq$56jg.DmHWEqrg7cbge2a20' > /etc/nginx/.htpasswd
RUN chown -R www-data:www-data /var/www/html \
&& echo 'expose_php = Off' > /usr/local/etc/php/conf.d/security.ini