Skip to content

Commit

Permalink
feat: test
Browse files Browse the repository at this point in the history
  • Loading branch information
miro-ring committed Dec 16, 2023
1 parent 106509c commit 0dd1960
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
FROM node:20.10.0-alpine as BUILD

RUN apk update && apk add --no-cache libc6-compat
RUN corepack enable && corepack prepare [email protected] --activate

WORKDIR /app

COPY . .

RUN pnpm i
RUN npm install -g pnpm

ENV PATH /app/node_modules/.bin:$PATH

RUN pnpm install

RUN pnpm build
RUN pnpm run build

FROM node:20.10.0-alpine

Expand All @@ -19,4 +20,4 @@ WORKDIR /app

COPY --from=BUILD /app/ .

ENTRYPOINT ["pnpm", "start"]
ENTRYPOINT ["pnpm", "run", "start"]

0 comments on commit 0dd1960

Please sign in to comment.