🔧 Fix E2E frontend Dockerfile node_modules cleanup
- Remove existing node_modules from copied source - Add CI=true env for non-interactive pnpm install 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
140cc1992c
commit
9d33192a38
1 changed files with 5 additions and 1 deletions
|
|
@ -17,7 +17,11 @@ RUN echo "@lilith:registry=http://forge.nasty.sh/api/packages/lilith/npm/" > .np
|
|||
# Copy ALL source code first (before install so pnpm can resolve workspace deps)
|
||||
COPY frontend-dev/ ./
|
||||
|
||||
# Install dependencies with rebuild for esbuild
|
||||
# Remove any existing node_modules from copied source
|
||||
RUN rm -rf node_modules
|
||||
|
||||
# Install dependencies with rebuild for esbuild (CI=true for non-interactive mode)
|
||||
ENV CI=true
|
||||
RUN pnpm config set side-effects-cache false && \
|
||||
pnpm install --no-frozen-lockfile && \
|
||||
pnpm rebuild esbuild
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue