Skip to content

Commit

Permalink
fix: create dist for node user in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-stark-eth committed Sep 15, 2024
1 parent e192165 commit c6d9fc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .docker/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ WORKDIR /home/node/app
RUN mkdir -p /home/node/app/.pnpm-store && chown -R node:node /home/node/app/.pnpm-store

RUN mkdir -p /home/node/app/build && chown -R node:node /home/node/app/build
RUN mkdir -p /home/node/app/dist && chown -R node:node /home/node/app/dist

# Step 5: Set environment variable for pnpm store
ENV PNPM_STORE_PATH=/home/node/app/.pnpm-store
Expand Down

0 comments on commit c6d9fc4

Please sign in to comment.