From d97d4a839fec99a8f19f0a96e1e8a50cf4a8a282 Mon Sep 17 00:00:00 2001 From: Natty Date: Sat, 8 Jul 2023 02:21:44 +0200 Subject: [PATCH] Fixed the Dockerfile, for real this time --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e531d6ea17..69a2c40614 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,7 +37,7 @@ RUN pnpm run --filter native-utils build # Copy in the rest of the files to compile COPY . ./ -RUN env NODE_ENV=production sh -c "pnpm run --filter '!native-utils' build && pnpm run gulp" +RUN env NODE_ENV=production sh -c "pnpm run --filter '!native-utils' build" # Trim down the dependencies to only those for production RUN pnpm i --prod --frozen-lockfile @@ -57,9 +57,7 @@ COPY --from=build /calckey/packages/backend/node_modules /calckey/packages/backe COPY --from=build /calckey/packages/calckey-js/node_modules /calckey/packages/calckey-js/node_modules # Copy the finished compiled files -COPY --from=build /calckey/built /calckey/built COPY --from=build /calckey/packages/backend/built /calckey/packages/backend/built -COPY --from=build /calckey/packages/backend/assets/instance.css /calckey/packages/backend/assets/instance.css COPY --from=build /calckey/packages/backend/native-utils/built /calckey/packages/backend/native-utils/built RUN corepack enable && corepack prepare pnpm@latest --activate