youngjeck commited on
Commit
eea5e88
·
verified ·
1 Parent(s): 2c1654a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -13
Dockerfile CHANGED
@@ -1,13 +1,13 @@
1
- FROM python:3.11-slim
2
-
3
- # Install dependencies
4
- RUN pip install --no-cache-dir fastapi uvicorn transformers torch Pillow
5
-
6
- # Create app directory
7
- WORKDIR /app
8
-
9
- # Copy everything
10
- COPY . .
11
-
12
- # Run FastAPI
13
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
1
+ FROM python:3.11-slim
2
+
3
+ # Install dependencies
4
+ RUN pip install --no-cache-dir fastapi python-multipart uvicorn transformers torch Pillow
5
+
6
+ # Create app directory
7
+ WORKDIR /app
8
+
9
+ # Copy everything
10
+ COPY . .
11
+
12
+ # Run FastAPI
13
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]