Files
Brancheneinstufung2/dockerfiles/Dockerfile.proxy

9 lines
296 B
Docker

FROM nginx:alpine
# Install apache2-utils to generate .htpasswd natively
RUN apk add --no-cache apache2-utils
# Create the user 'admin' with password 'gemini' using bcrypt (most secure & compatible)
RUN htpasswd -bc /etc/nginx/.htpasswd admin gemini
COPY nginx-proxy.conf /etc/nginx/nginx.conf