Spaces:
Runtime error
Runtime error
Commit
•
c239770
1
Parent(s):
2b64964
feat: remove docker
Browse files- Dockerfile +0 -9
- docker-compose.yaml +0 -11
Dockerfile
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
FROM tiangolo/uvicorn-gunicorn:python3.10
|
2 |
-
|
3 |
-
RUN apt update && \
|
4 |
-
apt install -y htop libgl1-mesa-glx libglib2.0-0
|
5 |
-
|
6 |
-
COPY requirements.txt /tmp/requirements.txt
|
7 |
-
RUN pip install --no-cache-dir -r /tmp/requirements.txt
|
8 |
-
|
9 |
-
CMD ["uvicorn", "main:app", "--reload", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
docker-compose.yaml
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
version: '3'
|
2 |
-
services:
|
3 |
-
yolov8_fastapi:
|
4 |
-
build: .
|
5 |
-
restart: "always"
|
6 |
-
volumes:
|
7 |
-
- ./:/app
|
8 |
-
working_dir: /app
|
9 |
-
ports:
|
10 |
-
- "8001:8001"
|
11 |
-
command: uvicorn main:app --reload --host 0.0.0.0 --port 8001
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|