From d79a1528b27a7ea37e4390f1155e474159d85873 Mon Sep 17 00:00:00 2001 From: ndsboy Date: Wed, 19 Mar 2025 21:11:54 +0000 Subject: [PATCH] fix: workdir works --- Containerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index 2dd31fe..f4ca463 100644 --- a/Containerfile +++ b/Containerfile @@ -1,4 +1,5 @@ FROM docker.io/library/node AS build +WORKDIR /app COPY . . ENV ASTRO_TELEMETRY_DISABLED=true RUN npm install @@ -8,5 +9,5 @@ FROM git.swablab.de/swablab/documents AS documents FROM docker.io/nginxinc/nginx-unprivileged COPY ./nginx.conf /etc/nginx/conf.d/default.conf -COPY --from=build ./dist /usr/share/nginx/html +COPY --from=build /app/dist /usr/share/nginx/html COPY --from=documents / /usr/share/nginx/html/docs \ No newline at end of file