Fix Docker configuration for authentication

This commit is contained in:
Lewis Juggins
2020-10-06 18:54:29 +01:00
committed by Michael Eischer
parent a44c025cd3
commit cec241e5e1
3 changed files with 13 additions and 3 deletions

View File

@@ -11,8 +11,10 @@ RUN go build -o rest-server ./cmd/rest-server
FROM alpine
ENV DATA_DIRECTORY /data
ENV PASSWORD_FILE /data/.htpasswd
ENV DATA_DIRECTORY="/data"
ENV PASSWORD_FILE="/data/.htpasswd"
ENV DISABLE_AUTHENTICATION=""
ENV OPTIONS=""
RUN apk add --no-cache --update apache2-utils