bravo24 commited on
Commit
699d1ba
·
verified ·
1 Parent(s): ea0702a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -11
Dockerfile CHANGED
@@ -1,15 +1,7 @@
1
  FROM python:3.9-slim
2
-
3
- # git gerekli (CLIP git'ten kuruluyor)
4
- RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
5
-
6
- WORKDIR /code
7
-
8
  COPY requirements.txt .
9
  RUN pip install --no-cache-dir -r requirements.txt
10
-
11
- COPY . .
12
-
13
  EXPOSE 7860
14
-
15
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
1
  FROM python:3.9-slim
2
+ WORKDIR /app
 
 
 
 
 
3
  COPY requirements.txt .
4
  RUN pip install --no-cache-dir -r requirements.txt
5
+ COPY app.py .
 
 
6
  EXPOSE 7860
7
+ CMD ["python", "app.py"]