chore: update Dockerfiles to ignore scripts during npm install
Docker images / backend-image (push) Failing after 1m33s
Docker images / frontend-image (push) Failing after 55s
Docker images / notify-webhook (push) Has been skipped

- Modified Dockerfile for frontend and backend to include the --ignore-scripts flag in npm ci commands, improving build efficiency.
- Added a step in the Docker workflow to create the public directory in the staging environment.
This commit is contained in:
Denozordec
2026-05-12 14:00:05 +07:00
parent 02119a3acd
commit 01596864dc
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ WORKDIR /app
COPY package.json package-lock.json ./
COPY packages/contracts/package.json packages/contracts/
COPY backend/package.json backend/
RUN npm ci --workspace=@mmapp/contracts --workspace=mikrotik-manager-backend --include-workspace-root
RUN npm ci --workspace=@mmapp/contracts --workspace=mikrotik-manager-backend --include-workspace-root --ignore-scripts
FROM deps AS build
COPY packages/contracts packages/contracts