ChristopherJKoen commited on
Commit
26c14b9
·
1 Parent(s): ef8c27b

Fix Rollup optional dep in Docker build

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -1,7 +1,7 @@
1
  FROM node:20 AS frontend
2
  WORKDIR /app
3
  COPY frontend/package*.json frontend/
4
- RUN cd frontend && npm install --include=optional --no-audit --no-fund
5
  COPY frontend frontend
6
  RUN cd frontend && npm run build
7
 
 
1
  FROM node:20 AS frontend
2
  WORKDIR /app
3
  COPY frontend/package*.json frontend/
4
+ RUN cd frontend && rm -f package-lock.json && npm install --include=optional --no-audit --no-fund
5
  COPY frontend frontend
6
  RUN cd frontend && npm run build
7