Skip to content

Commit 063486e

Browse files
committed
cache clean not required
1 parent eefb3ca commit 063486e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ WORKDIR /app
44

55
COPY package*.json ./
66

7-
RUN --mount=type=cache,target=/root/.npm npm ci --only=production --quiet --no-fund --no-audit && npm cache clean --force
7+
RUN --mount=type=cache,target=/root/.npm \
8+
npm ci --omit=dev --no-fund --no-audit
89

910
COPY . .
1011

1112
ENV PORT=8080
1213

13-
CMD ["npx", "functions-framework", "--target=app"]
14+
CMD ["npx", "functions-framework", "--target=app"]

0 commit comments

Comments
 (0)