From e49f6661f3bbe84edbfaf6c84fcdc380ca92d18e Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Sat, 23 Jan 2021 18:35:31 +0100 Subject: [PATCH] chore(docker): add a data directory for dex to var Signed-off-by: Mark Sagi-Kazar --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 07ffb617..7e55a0c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,6 +33,9 @@ WORKDIR / # OpenSSL is required so wget can query HTTPS endpoints for health checking. RUN apk add --no-cache --update ca-certificates openssl +RUN mkdir -p /var/dex +RUN chown -R 1001:1001 /var/dex + USER 1001:1001 COPY --from=0 /go/bin/dex /usr/local/bin/dex