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>
16 lines
216 B
Docker
16 lines
216 B
Docker
FROM node:22-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
# Install dependencies
|
|
COPY package*.json ./
|
|
RUN npm ci
|
|
|
|
# Copy source and build
|
|
COPY . .
|
|
RUN npm run build
|
|
|
|
# Create data directory
|
|
RUN mkdir -p data
|
|
|
|
CMD ["node", "dist/index.js"] |