Rafs-an09002 commited on
Commit
f3b91c5
·
verified ·
1 Parent(s): 6e0eb3d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -7
Dockerfile CHANGED
@@ -1,18 +1,11 @@
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
  COPY engine/ ./engine/
 
8
  EXPOSE 7860
 
9
  ENV PYTHONUNBUFFERED=1
10
  ENV OMP_NUM_THREADS=2
 
11
  CMD ["python", "app.py"]