This commit is contained in:
Jose Daniel G. Percy 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 # Install production dependencies only
# Temporarily disable the prepare script by setting npm_config_ignore_scripts # Temporarily disable the prepare script by setting npm_config_ignore_scripts
RUN apk add --no-cache pnpm && \ RUN apk add --no-cache pnpm && \
npm_config_ignore_scripts=true pnpm install --prod --frozen-lockfile && \ npm_config_ignore_scripts=true pnpm install --prod --frozen-lockfile
apk del pnpm
# Run the compiled JavaScript application # Run the compiled JavaScript application
CMD ["node", "dist/index.js"] CMD ["node", "dist/index.js"]

View File

@ -2,7 +2,6 @@
"name": "discord-music-bot", "name": "discord-music-bot",
"version": "1.0.0", "version": "1.0.0",
"description": "", "description": "",
"type": "module",
"main": "dist/index.js", "main": "dist/index.js",
"scripts": { "scripts": {
"build": "tsc -p tsconfig.json", "build": "tsc -p tsconfig.json",