Skip to content

Feat: added docker file for dev environment with hot reloading#534

Open
devsharmagit wants to merge 3 commits intocode100x:mainfrom
devsharmagit:feat/docker-dev-environment
Open

Feat: added docker file for dev environment with hot reloading#534
devsharmagit wants to merge 3 commits intocode100x:mainfrom
devsharmagit:feat/docker-dev-environment

Conversation

@devsharmagit
Copy link
Copy Markdown
Contributor

Since there was no setup for local dev environment using docker. I tried to added one.
Added

  • Docker.dev file
  • .dockerignore file
    updated
  • docker-compose.yml file
  • package.json file

two docker container will be up

  • nextjs
  • postgress db

access website at localhost:3000
and access prisma studio at localhost:5555

@VineeTagarwaL-code
Copy link
Copy Markdown
Contributor

its already there

@devsharmagit
Copy link
Copy Markdown
Contributor Author

@VineeTagarwaL-code

i am sorry for inconvenience. I should have raised issue first. When I tried to setup the project with docker, I get the below error.

image

after doing the changes and fixes

bbbbbbbbbb.mp4

I am still sorry, if this is a useless PR. I am new to open source

@VineeTagarwaL-code
Copy link
Copy Markdown
Contributor

dont be sorry brother, its fine

open an issue properly and let me look at it first

@devsharmagit
Copy link
Copy Markdown
Contributor Author

@VineeTagarwaL-code
please review PR

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

Successfully merging this pull request may close these issues.

2 participants