-
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
241c6de
commit a00040e
Showing
6 changed files
with
17,944 additions
and
27,527 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 |
---|---|---|
|
@@ -4,10 +4,12 @@ WORKDIR /app | |
RUN apk update && apk add --no-cache dumb-init | ||
|
||
COPY . . | ||
RUN npm ci | ||
RUN npm install -g [email protected] | ||
RUN corepack enable | ||
RUN pnpm i --frozen-lockfile | ||
|
||
RUN NX_DAEMON=false npm run server:build | ||
RUN X_DAEMON=false npm run dashboard:build | ||
RUN NX_DAEMON=false pnpm run server:build | ||
RUN NX_DAEMON=false pnpm run dashboard:build | ||
|
||
## RUNTIME IMAGE ### | ||
FROM node:22.13.1-alpine | ||
|
@@ -18,9 +20,12 @@ WORKDIR /app | |
COPY --from=build /usr/bin/dumb-init /usr/bin/dumb-init | ||
COPY --from=build /app/dist/apps ./ | ||
|
||
RUN npm install -g [email protected] | ||
RUN corepack enable | ||
|
||
WORKDIR /app/gapp-server | ||
|
||
RUN npm ci | ||
RUN pnpm i --frozen-lockfile | ||
|
||
EXPOSE 3000 | ||
|
||
|
Oops, something went wrong.