mirror of
https://github.com/System-End/spaces.git
synced 2026-04-19 16:38:24 +00:00
Fix Dockerfile to install devDependencies for Vite build
This commit is contained in:
parent
0db68a9df6
commit
9130bc418e
1 changed files with 2 additions and 2 deletions
|
|
@ -37,9 +37,9 @@ WORKDIR /app
|
|||
COPY package*.json ./
|
||||
COPY client/package*.json ./client/
|
||||
|
||||
# Install dependencies
|
||||
# Install dependencies (include devDependencies for build)
|
||||
RUN npm install
|
||||
RUN cd client && npm install
|
||||
RUN cd client && npm install --include=dev
|
||||
|
||||
# Copy application code
|
||||
COPY . .
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue