Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nigeljacob authored Mar 24, 2024
1 parent ab91542 commit 3ebac94
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,26 @@ RUN npm install
# Copy package.json and package-lock.json for the frontend
COPY Frontend/package*.json ./Frontend/

# Set the working directory to the frontend directory
WORKDIR /app/Frontend

# Install dependencies for the frontend
RUN (cd Frontend && npm install)
RUN npm install

# Set the working directory back to the root
WORKDIR /app

# Copy package.json and package-lock.json for the backend
COPY Backend/package*.json ./Backend/

# Set the working directory to the backend directory
WORKDIR /app/Backend

# Install dependencies for the backend
RUN (cd Backend && npm install)
RUN npm install

# Set the working directory back to the root
WORKDIR /app

# Copy the Electron application source code into the container
COPY . .
Expand Down

0 comments on commit 3ebac94

Please sign in to comment.