From dc469b23da772f5eb2f34844e708692ea85fbb8a Mon Sep 17 00:00:00 2001 From: Rohan Rustagi <110477025+RohanRusta21@users.noreply.github.com> Date: Sun, 19 Nov 2023 22:41:19 +0530 Subject: [PATCH] Updated README.md with Docker Steps --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index a8f7ec0..aecabc6 100644 --- a/README.md +++ b/README.md @@ -66,3 +66,21 @@ https://github.com/abi/screenshot-to-code/assets/23818/3fec0f77-44e8-4fb3-a769-a ## Hosted Version 🆕 [Try it here](https://picoapps.xyz/free-tools/screenshot-to-code) (bring your own OpenAI key - **your key must have access to GPT-4 Vision. See [FAQ](#faqs) section for details**). Or see [Getting Started](#getting-started) for local install instructions. + +## How To Use Docker : Use Below Steps + +```shell +cd frontend +docker build -t . +docker run -itd -p 5173:5173 +``` + +```shell +cd backend +docker build -t . +docker run --env-file .env -itd -p 7000:7000 +``` + +```shell +docker-compose up -d +```