Security: protect app with HTTP Basic Auth
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user