Updated README.md with Docker Steps
This commit is contained in:
parent
6eb9f15660
commit
dc469b23da
18
README.md
18
README.md
@ -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
|
||||||
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user