Skip to content

Commit

Permalink
Merge pull request #36 from plone/fixdockerfilefrontend
Browse files Browse the repository at this point in the history
Add build:deps to frontend Dockerfile build
  • Loading branch information
sneridagh authored Jun 7, 2024
2 parents bac1202 + a34991b commit e1fabfc
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 e1fabfc

Please sign in to comment.