{: width="200px"}
{: width="200px"}
{: width="200px"}
- Clone repository
git clone https://github.com/cavaldos/ChatGPT.git
npm install # pnpm install
npm run dev # npm run dev
1.Build your updated version of the image, using the docker build
command.
docker build -t chat-gpt .
2.Start a new container using the updated code.
docker run -dp 3000:3000 chat-gpt .
1.Get the ID of the container by using the docker ps
command.
docker ps -a
- Use the docker stop command to stop the container. Replace
<the-container-id>
with the ID from docker ps.
docker stop <the-container-id>
3.Once the container has stopped, you can remove it by using the docker rm
command.
docker rm <the-container-id>