1
0
mirror of https://github.com/hexastack/hexabot synced 2025-03-09 22:01:23 +00:00

Merge pull request from Hexastack/fix/optimize-docker-frontend-caching

fix: optimize docker frontend cache
This commit is contained in:
Med Marrouchi 2025-01-23 11:18:34 +01:00 committed by GitHub
commit ee7c6185e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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