Spaces:
Sleeping
Sleeping
Update README with port 7860 configuration
Browse files- Modify localhost URLs to use port 7860 consistently
- Update Docker run and API documentation endpoints
- Align README with recent port configuration changes
README.md
CHANGED
@@ -47,7 +47,7 @@ For local development:
|
|
47 |
uvicorn app:app --reload
|
48 |
```
|
49 |
|
50 |
-
The API will be available at `http://localhost:
|
51 |
|
52 |
## Endpoints
|
53 |
|
@@ -84,11 +84,11 @@ To run the application in a Docker container:
|
|
84 |
docker build -t smollm2-backend .
|
85 |
|
86 |
# Run the container
|
87 |
-
docker run -p
|
88 |
```
|
89 |
|
90 |
## API documentation
|
91 |
|
92 |
The interactive API documentation is available at:
|
93 |
-
- Swagger UI: `http://localhost:
|
94 |
-
- ReDoc: `http://localhost:
|
|
|
47 |
uvicorn app:app --reload
|
48 |
```
|
49 |
|
50 |
+
The API will be available at `http://localhost:7860`.
|
51 |
|
52 |
## Endpoints
|
53 |
|
|
|
84 |
docker build -t smollm2-backend .
|
85 |
|
86 |
# Run the container
|
87 |
+
docker run -p 7860:7860 --env-file .env smollm2-backend
|
88 |
```
|
89 |
|
90 |
## API documentation
|
91 |
|
92 |
The interactive API documentation is available at:
|
93 |
+
- Swagger UI: `http://localhost:7860/docs`
|
94 |
+
- ReDoc: `http://localhost:7860/redoc`
|