Skip to content

Commit

Permalink
fix: Docerfile is updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
Suraj-kumar00 committed Aug 4, 2024
1 parent bb1f7af commit a390223
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ WORKDIR /app
# Copy package.json and package-lock.json first to leverage Docker cache
COPY package*.json ./

# Install dependencies with legacy-peer-deps to avoid conflicts
RUN npm install --legacy-peer-deps
# Install dependencies
RUN npm install

# Copy the rest of the application code
COPY . .
Expand Down

0 comments on commit a390223

Please sign in to comment.