From 98b56e09e7b832d6cfdf14af4ebbf6885b4be46b Mon Sep 17 00:00:00 2001 From: sysuid <22698877+sysuid@users.noreply.github.com> Date: Sat, 8 Jun 2024 10:09:36 +0800 Subject: [PATCH] Update Dockerfile fix copy static file --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 803708a..63e2452 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,6 @@ RUN yarn build FROM nginx:latest AS runtime -COPY dist/ /usr/share/nginx/html/ +COPY --from=build-yarn /app/dist/ /usr/share/nginx/html/ EXPOSE 80