lohsuan / puppy_sponsor

Frontend and smart contract for puppy sponsor web3.0 project.
MIT License
1 stars 3 forks source link

Update Dockerfile pnpm version #19

Open Xanonymous-GitHub opened 2 years ago

Xanonymous-GitHub commented 2 years ago

Description

We could try this for the latest pnpm version build process of Dockerfile:

And this config can also prevent the pnpm shell not found problem.

RUN npm i -g pnpm serve && \
    SHELL="/bin/bash" pnpm setup && \
    pnpm i --frozen-lockfile &&  \
    pnpm build