mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-07-09 16:09:13 +00:00
fix(docker): force dev deps in UI builder stage to fix "tsc: not found" (#6523)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
cfcf6b1a63
commit
a8a3b0ad1e
1 changed files with 3 additions and 1 deletions
|
|
@ -5,7 +5,9 @@ WORKDIR /app
|
|||
|
||||
# Copy dependency files first for better Docker layer caching
|
||||
COPY ./skyvern-frontend/package.json ./skyvern-frontend/package-lock.json ./
|
||||
RUN npm ci
|
||||
# --include=dev keeps tsc/vite installed even if NODE_ENV=production is inherited
|
||||
# from the host/build env (npm omits devDependencies otherwise -> "tsc: not found").
|
||||
RUN npm ci --include=dev
|
||||
|
||||
# Copy source code
|
||||
COPY ./skyvern-frontend/ ./
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue