Fix Dockerfile to install devDependencies for nodemon

This commit is contained in:
Charmunks 2025-12-06 16:59:08 -05:00
parent 9130bc418e
commit 32e5d00861

View file

@ -37,8 +37,8 @@ WORKDIR /app
COPY package*.json ./
COPY client/package*.json ./client/
# Install dependencies (include devDependencies for build)
RUN npm install
# Install dependencies (include devDependencies for build and nodemon)
RUN npm install --include=dev
RUN cd client && npm install --include=dev
# Copy application code