Updated README.md with Docker Steps

This commit is contained in:
Rohan Rustagi 2023-11-19 22:41:19 +05:30 committed by GitHub
parent 6eb9f15660
commit dc469b23da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,3 +66,21 @@ https://github.com/abi/screenshot-to-code/assets/23818/3fec0f77-44e8-4fb3-a769-a
## Hosted Version ## 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. 🆕 [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 <image-name> .
docker run -itd -p 5173:5173 <image-name>
```
```shell
cd backend
docker build -t <image-name> .
docker run --env-file .env -itd -p 7000:7000 <image-name>
```
```shell
docker-compose up -d
```