This commit is contained in:
2025-04-25 00:20:57 +08:00
parent a324815788
commit 9fd3f4a678
2 changed files with 1 additions and 3 deletions

View File

@@ -37,8 +37,7 @@ COPY plugins ./plugins
# Install production dependencies only
# Temporarily disable the prepare script by setting npm_config_ignore_scripts
RUN apk add --no-cache pnpm && \
npm_config_ignore_scripts=true pnpm install --prod --frozen-lockfile && \
apk del pnpm
npm_config_ignore_scripts=true pnpm install --prod --frozen-lockfile
# Run the compiled JavaScript application
CMD ["node", "dist/index.js"]