Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyfilyanin authored Sep 4, 2024
1 parent df9d59d commit b1b9788
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,10 @@ ENV VITE_VARA_NODE_ADDRESS=${VITE_VARA_NODE_ADDRESS} \
VITE_BRIDGING_PAYMENT_CONTRACT_ADDRESS=${VITE_BRIDGING_PAYMENT_CONTRACT_ADDRESS} \
VITE_ERC20_TREASURY_CONTRACT_ADDRESS=${VITE_ERC20_TREASURY_CONTRACT_ADDRESS}

WORKDIR /app/frontend

RUN pnpm install

RUN pnpm build

RUN npm install --global serve

CMD ["serve", "-s", "/app/frontend/dist"]
CMD ["serve", "-s", "/app/dist"]

0 comments on commit b1b9788

Please sign in to comment.