From 39b7158b948f9cf2eb8a9f46018752007ac05927 Mon Sep 17 00:00:00 2001 From: Leander Furumo Date: Tue, 30 Sep 2025 23:32:39 +0200 Subject: [PATCH] copy correct directory and avoid naming confusion between the workdir and the name of the build output folder --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9ebe556..9a56810 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Build FROM node:18-alpine AS build -WORKDIR /app +WORKDIR /edb-www COPY package.json package-lock.json ./ @@ -14,7 +14,7 @@ RUN npm run build # Serve FROM nginx:stable-alpine AS runtime -COPY --from=build /app /usr/share/nginx/html +COPY --from=build /edb-www/app /usr/share/nginx/html EXPOSE 80