-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from Ipmake/dev
Release v1.0.0
- Loading branch information
Showing
56 changed files
with
6,833 additions
and
1,369 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 |
---|---|---|
@@ -1 +1,2 @@ | ||
**/node_modules | ||
**/node_modules | ||
/backend/data |
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
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
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 |
---|---|---|
@@ -1,29 +1,19 @@ | ||
FROM node:20-bookworm-slim as frontend_builder | ||
|
||
WORKDIR /app | ||
|
||
COPY frontend/package*.json ./ | ||
|
||
# Install the app dependencies | ||
RUN npm install | ||
|
||
COPY frontend . | ||
|
||
RUN npm run build | ||
|
||
# /// Runner /// | ||
|
||
FROM node:20-bookworm-slim as runner | ||
FROM node:22-bookworm-slim as runner | ||
|
||
WORKDIR /app | ||
|
||
COPY backend/* /app | ||
|
||
RUN apt-get update -y && apt-get install -y openssl | ||
|
||
RUN npm install | ||
RUN npx prisma db push | ||
RUN npx tsc | ||
RUN chmod +x /app/run.sh | ||
|
||
EXPOSE 3000 | ||
VOLUME /app/data | ||
|
||
COPY --from=frontend_builder /app/build/ /app/www/ | ||
COPY frontend/build/ /app/www/ | ||
|
||
CMD ["node", "dist/index.js"] |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,4 @@ | ||
node_modules | ||
# Keep environment variables out of version control | ||
.env | ||
/data |
Oops, something went wrong.