Fix: Move TypeScript to dependencies for Docker build
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 14s

Move typescript from devDependencies to dependencies so it's
available in the Docker container during build.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-22 16:36:34 +01:00
parent 40be1e181c
commit 6825e9d1b2
2 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ WORKDIR /app
# Install dependencies # Install dependencies
COPY package*.json ./ COPY package*.json ./
RUN npm ci --only=production RUN npm ci
# Copy source and build # Copy source and build
COPY . . COPY . .

View File

@@ -16,13 +16,13 @@
"dependencies": { "dependencies": {
"better-sqlite3": "^12.8.0", "better-sqlite3": "^12.8.0",
"discord.js": "^14.18.0", "discord.js": "^14.18.0",
"dotenv": "^16.4.7" "dotenv": "^16.4.7",
"typescript": "^5.8.2"
}, },
"devDependencies": { "devDependencies": {
"@types/better-sqlite3": "^7.6.13", "@types/better-sqlite3": "^7.6.13",
"@types/node": "^22.13.9", "@types/node": "^22.13.9",
"nodemon": "^3.1.9", "nodemon": "^3.1.9",
"ts-node": "^10.9.2", "ts-node": "^10.9.2"
"typescript": "^5.8.2"
} }
} }