Skip to content

Commit

Permalink
used pnpm instead of bun
Browse files Browse the repository at this point in the history
  • Loading branch information
fdewas-aneo committed Apr 4, 2024
1 parent 0d50a3d commit 30826d9
Show file tree
Hide file tree
Showing 3 changed files with 7,693 additions and 5 deletions.
14 changes: 9 additions & 5 deletions Dockerfile
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
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"@ag-grid-community/angular": "^31.2.0",
"@ag-grid-community/client-side-row-model": "^31.2.0",
"@ag-grid-community/styles": "latest",
"@ag-grid-community/core": "latest",
"@aneoconsultingfr/armonik.api": "^3.15.1",
"@aneoconsultingfr/armonik.api.angular": "^3.15.1",
"@angular/animations": "^16.2.0",
Expand Down
Loading

0 comments on commit 30826d9

Please sign in to comment.