Skip to content
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

Docker dev environment with hot reloading #542

Open
2 tasks done
devsharmagit opened this issue Oct 23, 2024 · 3 comments
Open
2 tasks done

Docker dev environment with hot reloading #542

devsharmagit opened this issue Oct 23, 2024 · 3 comments
Assignees

Comments

@devsharmagit
Copy link
Contributor

📜 Description

Whenever I tried to setup the project with docker command (present in Readme) it doesn't work and gives me error.

👟 Reproduction steps

  1. Run docker command present in Readme
  2. See the error that it throws.

👍 Expected behavior

Running docker command should set up two docker environment one for nextjs and one for db. Db should be connected with volume and both containers should be connected with network. Prisma Studio should be need to be bring up. There should be a bind which link changes in host machine src folder to nextjs container src

bbbbbbbbbb.mp4

👎 Actual Behavior with Screenshots

It throws the following error.
image

OS name

Windows

browser name

Chrome

npm version

No response

node version

No response

📃 Provide any additional context for the Bug.

#534
The above PR addresses and solve the issue.

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to submit PR?

Yes I am willing to submit a PR!

@devsharmagit
Copy link
Contributor Author

@VineeTagarwaL-code
Please look and let me if that pr needs improvement or not

@ezeslucky
Copy link

I solve it

@ezeslucky
Copy link

FROM node:14 AS development

services:
app:
build:
context: .
target: development

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants