-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Setup Dockerfile for frontend app build #50
feat: Setup Dockerfile for frontend app build #50
Conversation
🦋 Changeset detectedLatest commit: df36d02 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@ical10 Please haver another look on this & compare with your dockerfile. There have been a lot of documentation updates on Next.js self-hosting along Next.js 14.1.0: https://nextjs.org/blog/next-14-1#improved-self-hosting |
bf796ca
to
b59345b
Compare
0133f7d
to
df36d02
Compare
Closes #29
How to run the Dockerfile:
For frontend
docker-compose -f ./docker-compose.frontend.yaml up
inkathon-frontend-dev
for dev and vice versa), clickOpen in Browser
docker-compose -f ./docker-compose.frontend.yaml down
For contracts
docker-compose -f ./docker-compose.contracts.yaml up
. This process will take some time, please wait. Some logs from the node will show up on your terminal.docker exec -it substrate-contracts-node /bin/sh
cd contracts
pnpm install
->pnpm run build
->pnpm run deploy
docker-compose -f ./docker-compose.frontend.yaml down