-
Notifications
You must be signed in to change notification settings - Fork 73
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
Showing
38 changed files
with
1,478 additions
and
3,129 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,5 +1,5 @@ | ||
.nyc_output/ | ||
api/static/ | ||
e2e/ | ||
node_modules/ | ||
reports/ | ||
server/static/ |
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,9 +1,9 @@ | ||
.nyc_output/ | ||
client/public/buildinfo.txt | ||
api/static/ | ||
e2e/blob-report/ | ||
e2e/playwright/.cache/ | ||
e2e/playwright-report/ | ||
e2e/test-results/ | ||
node_modules/ | ||
reports/ | ||
server/static/ | ||
web/public/buildinfo.txt |
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,29 @@ | ||
FROM node:20-alpine as client | ||
FROM node:20-alpine as web | ||
|
||
USER node | ||
WORKDIR /home/node | ||
|
||
COPY package*.json .npmrc ./ | ||
COPY --chown=node client/package.json client/ | ||
RUN npm --workspace client ci | ||
COPY --chown=node web/package.json web/ | ||
RUN npm --workspace web ci | ||
|
||
COPY --chown=node client/ client/ | ||
RUN npm --workspace client run build | ||
COPY --chown=node web/ web/ | ||
RUN npm --workspace web run build | ||
|
||
FROM node:20-alpine | ||
|
||
USER node | ||
WORKDIR /home/node | ||
|
||
COPY package*.json .npmrc ./ | ||
COPY server/package.json server/ | ||
RUN npm --workspace server ci --omit dev | ||
COPY api/package.json api/ | ||
RUN npm --workspace api ci --omit dev | ||
|
||
COPY server/ server/ | ||
COPY --from=client /home/node/server/static server/static/ | ||
COPY api/ api/ | ||
COPY --from=web /home/node/api/static api/static/ | ||
|
||
EXPOSE 80 | ||
ENV PORT=80 | ||
|
||
ENTRYPOINT [ "node" ] | ||
CMD [ "server/server.js" ] | ||
CMD [ "api/server.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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Oops, something went wrong.