Skip to content

Commit

Permalink
fix(frontend): make pnpm work with docker
Browse files Browse the repository at this point in the history
  • Loading branch information
JoltCode committed Oct 7, 2023
1 parent 6d302ba commit 121efd9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/frontend/debug.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ ARG FRONTEND_MAIN_URL
ENV FRONTEND_MAIN_URL="${FRONTEND_MAIN_URL}"
WORKDIR /app
COPY main/package*.json ./
RUN npm install
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
RUN pnpm install
ENV NODE_ENV development
ENTRYPOINT ["npm", "run", "start:live"]

0 comments on commit 121efd9

Please sign in to comment.