Gigishot commited on
Commit
552cf10
·
verified ·
1 Parent(s): ca4b49d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -2
Dockerfile CHANGED
@@ -1,6 +1,11 @@
1
- FROM python:3.10
 
2
  WORKDIR /app
3
- COPY . .
4
  RUN pip install --no-cache-dir -r requirements.txt
 
 
 
 
5
  EXPOSE 7860
6
  CMD ["python", "app.py"]
 
1
+ FROM python:3.10-slim
2
+
3
  WORKDIR /app
4
+ COPY requirements.txt .
5
  RUN pip install --no-cache-dir -r requirements.txt
6
+
7
+ COPY . .
8
+
9
+ # HF Spaces expects port 7860
10
  EXPOSE 7860
11
  CMD ["python", "app.py"]