Skip to content

Commit

Permalink
fix: Dockerfile (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
danadajian authored Jun 14, 2023
1 parent 58796d5 commit 6fc7723
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ WORKDIR /app

RUN apt-get update && apt-get -qq -y install curl
RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm
COPY pnpm-lock.yaml .
RUN pnpm fetch --prod --ignore-scripts

RUN useradd -ms /bin/sh admin
RUN chown -R admin .
COPY --chown=admin . .
USER admin

RUN pnpm install --prod --ignore-scripts --offline
RUN pnpm install --prod --ignore-scripts
RUN pnpm --filter frontend prod

ENV PORT 8080
Expand Down

0 comments on commit 6fc7723

Please sign in to comment.