Skip to content

Commit

Permalink
Merge pull request #441 from RabotaRu/v3.6.1
Browse files Browse the repository at this point in the history
 v3.6.1
  • Loading branch information
rpiontik committed Nov 16, 2023
2 parents 5c11037 + fd49a6f commit b882439
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ARG NODE_VERSION=20
FROM node:${NODE_VERSION}-alpine AS deps
WORKDIR /var/www
COPY package.json package-lock.json ./
COPY plugins/*/package.json ./plugins/
COPY plugins ./plugins/
# RUN --mount=type=cache,target=/root/.npm npm install
RUN npm install

Expand All @@ -16,7 +16,7 @@ FROM node:${NODE_VERSION}-alpine AS builder
WORKDIR /var/www
COPY --from=deps /var/www .
COPY . .
COPY --from=deps /var/www/plugins/*/node_modules ./plugins/*/node_modules/
COPY --from=deps /var/www/plugins ./plugins/
ENV NODE_ENV=production
# RUN --mount=type=cache,target=./node_modules/.cache npm run build
RUN npm run build
Expand Down

0 comments on commit b882439

Please sign in to comment.