new build
Some checks failed
Build and Publish Docker Images / build-and-push (push) Failing after 11m20s
Test Docker Compose Setup / test-compose (push) Failing after 54s
Test Docker Compose Setup / lint-dockerfiles (push) Failing after 30s
Test Docker Compose Setup / validate-compose (push) Failing after 16s
Build and Publish Docker Images / security-scan (push) Has been skipped
Build and Publish Docker Images / notify (push) Failing after 15s
Some checks failed
Build and Publish Docker Images / build-and-push (push) Failing after 11m20s
Test Docker Compose Setup / test-compose (push) Failing after 54s
Test Docker Compose Setup / lint-dockerfiles (push) Failing after 30s
Test Docker Compose Setup / validate-compose (push) Failing after 16s
Build and Publish Docker Images / security-scan (push) Has been skipped
Build and Publish Docker Images / notify (push) Failing after 15s
This commit is contained in:
@@ -5,10 +5,10 @@ FROM node:18-alpine
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package files
|
||||
COPY package*.json ./
|
||||
COPY package.json ./
|
||||
|
||||
# Install dependencies
|
||||
RUN npm ci --only=production
|
||||
# Install dependencies (npm install works without package-lock.json)
|
||||
RUN npm install --omit=dev --no-audit --no-fund && npm cache clean --force
|
||||
|
||||
# Copy application code
|
||||
COPY . .
|
||||
|
||||
Reference in New Issue
Block a user