Update Dockerfile
This commit is contained in:
@@ -7,6 +7,7 @@ WORKDIR /app
|
||||
COPY package*.json ./
|
||||
|
||||
# Install dependencies
|
||||
RUN apk add --no-cache python3 make g++
|
||||
RUN npm ci
|
||||
|
||||
# Copy source code
|
||||
@@ -27,6 +28,7 @@ WORKDIR /app
|
||||
COPY package*.json ./
|
||||
|
||||
# Install production dependencies only
|
||||
RUN apk add --no-cache python3 make g++
|
||||
RUN npm ci --only=production
|
||||
|
||||
# Copy Prisma schema and generate client
|
||||
|
||||
Reference in New Issue
Block a user