build and use dist
Some checks failed
gds-mock-mcp Docker Build / build (push) Has been cancelled

This commit is contained in:
2026-04-12 00:50:09 -05:00
parent d4bcb045d8
commit aac41d9e8f
2 changed files with 9 additions and 1 deletions

View File

@@ -6,8 +6,10 @@ WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
# Install dependencies and build dist
RUN npm ci --only=production
RUN npm run build --if-present
# Stage 2: Production
FROM node:20-alpine