Commit
·
2efbadf
1
Parent(s):
9a44e5f
fix
Browse files- Dockerfile +1 -1
- docker-compose.yml +1 -1
Dockerfile
CHANGED
|
@@ -27,4 +27,4 @@ COPY --chown=user ./packages.txt ./
|
|
| 27 |
# Install Python dependencies using pip
|
| 28 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 29 |
|
| 30 |
-
ENTRYPOINT ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "
|
|
|
|
| 27 |
# Install Python dependencies using pip
|
| 28 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 29 |
|
| 30 |
+
ENTRYPOINT ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]
|
docker-compose.yml
CHANGED
|
@@ -6,7 +6,7 @@ services:
|
|
| 6 |
context: .
|
| 7 |
dockerfile: Dockerfile
|
| 8 |
ports:
|
| 9 |
-
-
|
| 10 |
volumes:
|
| 11 |
- ./app:/app
|
| 12 |
|
|
|
|
| 6 |
context: .
|
| 7 |
dockerfile: Dockerfile
|
| 8 |
ports:
|
| 9 |
+
- 8000:8000
|
| 10 |
volumes:
|
| 11 |
- ./app:/app
|
| 12 |
|