Add Dockerfile

This commit is contained in:
2025-10-27 22:13:56 +00:00
parent b755355818
commit d9db8d35d4

21
Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
FROM node:20-alpine
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm ci
# Copy source code
COPY . .
# Build TypeScript
RUN npm run build
# Remove source files to reduce image size (optional)
# RUN rm -rf src tsconfig.json
# Start the app
CMD ["npm", "start"]