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 3ebac94 commit 838eabe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKDIR /app
COPY package*.json ./

# Install dependencies for the main application
RUN npm install
RUN yarn

# Copy package.json and package-lock.json for the frontend
COPY Frontend/package*.json ./Frontend/
Expand All @@ -17,7 +17,7 @@ COPY Frontend/package*.json ./Frontend/
WORKDIR /app/Frontend

# Install dependencies for the frontend
RUN npm install
RUN yarn

# Set the working directory back to the root
WORKDIR /app
Expand All @@ -29,7 +29,7 @@ COPY Backend/package*.json ./Backend/
WORKDIR /app/Backend

# Install dependencies for the backend
RUN npm install
RUN yarn

# Set the working directory back to the root
WORKDIR /app
Expand All @@ -38,4 +38,4 @@ WORKDIR /app
COPY . .

# Build the Electron app
RUN npm run electron:build
RUN yarn electron:build

0 comments on commit 838eabe

Please sign in to comment.