Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
louisescher committed Dec 22, 2024
1 parent bebce26 commit 02c0fe2
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,22 @@ COPY ./patches /app/patches
COPY ./package /app/package
COPY ./docs /app/docs

RUN corepack enable

RUN pnpm install

WORKDIR /app/package

RUN pnpm build

WORKDIR /app/docs

RUN apt-get update && apt-get install -y --no-install-recommends \
python3 make gcc g++ \
&& rm -rf /var/lib/apt/lists/*

RUN corepack enable
RUN pnpm install

RUN pnpm build

EXPOSE 4321:4321

CMD ["export HOST=0.0.0.0;", "pnpm", "start"]
CMD ["pnpm", "start"]

0 comments on commit 02c0fe2

Please sign in to comment.