feat: build CRM image in Gitea registry
All checks were successful
Build & Push Docker Image to Gitea Registry / build-and-push (push) Successful in 29s
All checks were successful
Build & Push Docker Image to Gitea Registry / build-and-push (push) Successful in 29s
This commit is contained in:
@@ -5,10 +5,10 @@ FROM node:18-alpine
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package descriptors first to leverage Docker layer caching
|
||||
COPY package.json ./
|
||||
COPY package*.json ./
|
||||
|
||||
# Install production dependencies only
|
||||
RUN npm install --omit=dev
|
||||
RUN npm ci --omit=dev
|
||||
|
||||
# Copy server code and public assets
|
||||
COPY server.js ./
|
||||
|
||||
Reference in New Issue
Block a user