Skip to content

Commit

Permalink
Add build:deps to frontend Dockerfile build
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Jun 7, 2024
1 parent bac1202 commit a34991b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ COPY --chown=node package.json /app/package.json.temp
RUN --mount=type=cache,id=pnpm,target=/app/.pnpm-store,uid=1000 <<EOT
python3 -c "import json; data = json.load(open('package.json.temp')); deps = data['dependencies']; data['dependencies'].update(deps); json.dump(data, open('package.json', 'w'), indent=2)"
rm package.json.temp
pnpm install
pnpm install && pnpm build:deps
pnpm build
pnpm install --prod
EOT
Expand Down

0 comments on commit a34991b

Please sign in to comment.