Update dockerfiles for npx versions, gdrive env credential paths
This commit is contained in:
parent
368e3b23ca
commit
9ff603aef5
1 changed files with 37 additions and 11 deletions
|
|
@ -8,9 +8,12 @@ WORKDIR /app
|
|||
|
||||
RUN --mount=type=cache,target=/root/.npm npm install
|
||||
|
||||
RUN --mount=type=cache,target=/root/.npm-production npm ci --ignore-scripts --omit-dev
|
||||
|
||||
FROM node:22-alpine AS release
|
||||
|
||||
COPY --from=builder /app/dist /app
|
||||
COPY --from=builder /app/node_modules /app/node_modules
|
||||
|
||||
ENV NODE_ENV=production
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue