-
Notifications
You must be signed in to change notification settings - Fork 3
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
2abde13
commit 5ac8fe7
Showing
6 changed files
with
25 additions
and
30 deletions.
There are no files selected for viewing
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
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,7 +1,12 @@ | ||
FROM docker.io/node:20 | ||
ADD .output/ /app | ||
|
||
FROM docker.io/gplane/pnpm as buildstage | ||
COPY ./package.json /build/ | ||
WORKDIR /build | ||
RUN pnpm install | ||
COPY ./ /build | ||
RUN pnpm run build | ||
# RUN | ||
FROM docker.io/node:20-alpine | ||
COPY --from=buildstage /build/.output/ /app | ||
WORKDIR /app | ||
|
||
EXPOSE 3000 | ||
ENTRYPOINT node server/index.mjs | ||
ENTRYPOINT node server/index.mjs |
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 was deleted.
Oops, something went wrong.
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