Compare commits
1 Commits
29d66a1621
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| a1b03acf04 |
@@ -1,10 +1,10 @@
|
||||
FROM docker.arvancloud.ir/node:22-alpine AS build
|
||||
# node:22-alpine npm often dies with "Exit handler never called" in Docker builds.
|
||||
FROM docker.arvancloud.ir/node:20-alpine AS build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json package-lock.json ./
|
||||
RUN --mount=type=cache,target=/root/.npm \
|
||||
npm ci --no-audit --no-fund
|
||||
RUN npm ci --no-audit --no-fund
|
||||
|
||||
COPY . .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user