diff --git a/Dockerfile b/Dockerfile index ee6ba67..33a5456 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/package.json b/package.json index 1ea1d3e..b148664 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,6 @@ "name": "discord-music-bot", "version": "1.0.0", "description": "", - "type": "module", "main": "dist/index.js", "scripts": { "build": "tsc -p tsconfig.json",