-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bcac8c3
commit 21d92c7
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Use a base image with Node.js and Chromium installed | ||
FROM node:18 | ||
|
||
# Set the working directory inside the container | ||
WORKDIR /app | ||
|
||
# Copy package.json and package-lock.json to the working directory | ||
COPY package*.json ./ | ||
|
||
# Install dependencies | ||
RUN yarn | ||
|
||
COPY Frontend/package*.json ./ | ||
|
||
RUN cd Frontend && yarn | ||
|
||
COPY Backend/package*.json ./ | ||
|
||
RUN cd Backend && yarn | ||
|
||
RUN yarn upgrade | ||
|
||
RUN yarn electron:build | ||
|
||
# Copy the Electron application source code into the container | ||
COPY . . |