-
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
0d50a3d
commit 30826d9
Showing
3 changed files
with
7,693 additions
and
5 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,18 +1,22 @@ | ||
FROM oven/bun:canary-slim as build | ||
FROM node:lts-slim as build | ||
|
||
WORKDIR /usr/src/app | ||
|
||
RUN npm install -g pnpm | ||
|
||
COPY ./package.json ./ | ||
COPY ./bun.lockb ./ | ||
COPY ./pnpm-lock.yaml ./ | ||
|
||
RUN bun i --frozen-lockfile | ||
RUN pnpm i --frozen-lockfile | ||
|
||
COPY src ./src | ||
COPY tsconfig.json tsconfig.app.json ./ | ||
COPY angular.json ./ | ||
|
||
RUN bun run build | ||
RUN pnpm run build | ||
|
||
FROM nginx:stable-alpine-slim as production | ||
|
||
COPY --from=build /dist /usr/share/nginx/html | ||
COPY --from=build /usr/src/app/dist /usr/share/nginx/html | ||
|
||
EXPOSE 80 |
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.