Skip to content

Docker dev environment with hot reloading  #542

@devsharmagit

Description

@devsharmagit

📜 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!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions