Rafs-an09002 commited on
Commit
eeba751
·
verified ·
1 Parent(s): 38180fc

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -8
Dockerfile CHANGED
@@ -1,18 +1,10 @@
1
  FROM python:3.10-slim
2
-
3
  WORKDIR /app
4
-
5
  RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
6
-
7
  COPY requirements.txt .
8
  RUN pip install --no-cache-dir -r requirements.txt
9
-
10
  COPY app.py .
11
- COPY engine/ ./engine/
12
-
13
  EXPOSE 7860
14
-
15
  ENV PYTHONUNBUFFERED=1
16
  ENV OMP_NUM_THREADS=2
17
-
18
  CMD ["python", "app.py"]
 
1
  FROM python:3.10-slim
 
2
  WORKDIR /app
 
3
  RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
 
4
  COPY requirements.txt .
5
  RUN pip install --no-cache-dir -r requirements.txt
 
6
  COPY app.py .
 
 
7
  EXPOSE 7860
 
8
  ENV PYTHONUNBUFFERED=1
9
  ENV OMP_NUM_THREADS=2
 
10
  CMD ["python", "app.py"]