From b19fe5b49dffa89c9629bd3f506b7918b0b7e749 Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Sat, 23 Jan 2021 18:46:56 +0100 Subject: [PATCH] chore(docker): move copying the dex binary up in Dockerfile Signed-off-by: Mark Sagi-Kazar --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 741858fd..7f31e849 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,10 +40,10 @@ RUN chown -R 1001:1001 /var/dex COPY --from=0 /usr/local/src/dex/go.mod /usr/local/src/dex/go.sum /usr/local/src/dex/ COPY --from=0 /usr/local/src/dex/api/v2/go.mod /usr/local/src/dex/api/v2/go.sum /usr/local/src/dex/api/v2/ -USER 1001:1001 - COPY --from=0 /go/bin/dex /usr/local/bin/dex +USER 1001:1001 + # Import frontend assets and set the correct CWD directory so the assets # are in the default path. COPY web web