From 7b2972a04b63ca6ff324c255f942fe5fb554bf21 Mon Sep 17 00:00:00 2001
From: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
Date: Sat, 23 Jan 2021 19:02:05 +0100
Subject: [PATCH] chore(docker): copy web assets from the build image

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
---
 Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index 233c3406..a024a54c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -46,7 +46,7 @@ USER 1001:1001
 
 # Import frontend assets and set the correct CWD directory so the assets
 # are in the default path.
-COPY web web
+COPY --from=builder /usr/local/src/dex/web web
 
 ENTRYPOINT ["dex"]
 
-- 
GitLab