Skip to content
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

Commit c321c87

Browse files
authored
add Docker
1 parent 607ff5e commit c321c87

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,41 @@ or
8181
http://localhost:1338
8282
```
8383

84+
## Docker 🐳
85+
### Prerequisites
86+
Before you start, make sure you have installed [Docker](https://www.docker.com/get-started) on your machine.
87+
88+
### Running the Docker
89+
Dockerfile for creating a Docker image yourself
90+
Then we can create an image using the following commands:
91+
```
92+
git clone https://github.com/VadimBoev/freegpt-webui-v2.git cd freegpt-webui-v2
93+
```
94+
95+
Build image:
96+
```
97+
docker build -f Dockerfile -t freegpt-webui-v2 .
98+
```
99+
100+
Run the application using Docker:
101+
```
102+
docker run -p 1338:1338 freegpt-webui-v2:latest
103+
```
104+
105+
Access the application in your browser using the URL:
106+
```
107+
http://127.0.0.1:1338
108+
```
109+
or
110+
```
111+
http://localhost:1338
112+
```
113+
114+
When you're done using the application, stop the Docker containers using the following command:
115+
```
116+
docker stop <container-id>
117+
```
118+
84119
## Incorporated Projects :busts_in_silhouette:
85120
I highly recommend visiting and supporting both projects.
86121

0 commit comments

Comments
 (0)