Skip to content

Commit

Permalink
updated frontend dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Amarjha01 committed Aug 25, 2024
1 parent 81aae31 commit 3e57efa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ FROM node:20.11.1 AS build
WORKDIR /app

# Copy package.json and package-lock.json (if it exists) to /app
COPY frontend/package*.json ./
COPY package*.json ./

# Install dependencies
RUN npm install

# Copy the rest of the application code to /app
COPY frontend/ .
COPY . .

# Build the application
RUN npm run build
Expand Down

0 comments on commit 3e57efa

Please sign in to comment.