Security: protect app with HTTP Basic Auth

This commit is contained in:
Ponte
2026-02-11 19:56:57 +01:00
parent ce40912629
commit 621beee036
5 changed files with 25 additions and 1 deletions

View File

@@ -2,9 +2,14 @@ FROM nginx:1.27-alpine
WORKDIR /usr/share/nginx/html
RUN apk add --no-cache apache2-utils
COPY nginx/default.conf /etc/nginx/conf.d/default.conf
COPY nginx/entrypoint.sh /entrypoint.sh
COPY index.html ./index.html
COPY styles.css ./styles.css
COPY app.js ./app.js
EXPOSE 80
CMD ["/entrypoint.sh"]