Fixed the Dockerfile, for real this time
ci/woodpecker/push/ociImageTag Pipeline is pending Details

This commit is contained in:
Natty 2023-07-08 02:21:44 +02:00
parent 94fed071db
commit d97d4a839f
Signed by: natty
GPG Key ID: BF6CB659ADEE60EC
1 changed files with 1 additions and 3 deletions

View File

@ -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