Skip to content

Commit

Permalink
Merge pull request #602 from Hexastack/fix/optimize-docker-frontend-c…
Browse files Browse the repository at this point in the history
…aching

fix: optimize docker frontend cache
  • Loading branch information
marrouchi authored Jan 23, 2025
2 parents d6d757b + f139783 commit ee7c618
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,15 @@ WORKDIR /app

COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./

COPY frontend/package*.json ./frontend/

COPY widget/package*.json ./widget/

RUN npm install

COPY ./frontend ./frontend
COPY ./widget ./widget

RUN npm install


# used to by pass Next.js paching lock file
Expand Down

0 comments on commit ee7c618

Please sign in to comment.