Skip to content

Commit

Permalink
might Debian work?
Browse files Browse the repository at this point in the history
  • Loading branch information
omranjamal committed Aug 20, 2024
1 parent 66ed07c commit 2088b68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/jonogon-core/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
FROM node:22.6.0-alpine3.20 AS common
FROM node:22.6.0-bookworm AS common
WORKDIR /app

FROM common AS build
COPY . /app
RUN npm install -g [email protected]
RUN pnpm install
RUN pnpm build
RUN pnpm --filter=@jonogon/core --prod deploy pruned
RUN pnpm --filter=@jonogon/core --prod deploy /pruned

FROM common

ENV NODE_ENV=production
COPY --from=build /app/pruned .
COPY --from=build /pruned .

CMD node .

0 comments on commit 2088b68

Please sign in to comment.