Skip to content

Commit

Permalink
fix(cli): Don't download pnpm with every invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedBassem committed Apr 2, 2024
1 parent 457c344 commit 173ac37
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,10 @@ WORKDIR /app

COPY --from=cli_builder /prod apps/cli

RUN corepack enable

WORKDIR /app/apps/cli
RUN npm config set update-notifier false

ARG SERVER_VERSION=nightly
ENV SERVER_VERSION=${SERVER_VERSION}

ENTRYPOINT ["pnpm" , "exec", "tsx", "index.ts"]
ENTRYPOINT ["npm", "exec", "--", "tsx", "index.ts"]

0 comments on commit 173ac37

Please sign in to comment.