mirror of
https://github.com/hexastack/hexabot
synced 2025-03-09 22:01:23 +00:00
Merge pull request #602 from Hexastack/fix/optimize-docker-frontend-caching
fix: optimize docker frontend cache
This commit is contained in:
commit
ee7c6185e4
@ -47,10 +47,15 @@ WORKDIR /app
|
|||||||
|
|
||||||
COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./
|
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 ./frontend ./frontend
|
||||||
COPY ./widget ./widget
|
COPY ./widget ./widget
|
||||||
|
|
||||||
RUN npm install
|
|
||||||
|
|
||||||
|
|
||||||
# used to by pass Next.js paching lock file
|
# used to by pass Next.js paching lock file
|
||||||
|
Loading…
Reference in New Issue
Block a user