MahatirTusher commited on
Commit
7303271
·
verified ·
1 Parent(s): dec2d99

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -2
Dockerfile CHANGED
@@ -1,11 +1,16 @@
1
  FROM python:3.8-slim
2
 
3
- # Prevent TensorFlow from trying to use GPU
4
  ENV TF_CPP_MIN_LOG_LEVEL=3
5
  ENV TF_ENABLE_ONEDNN_OPTS=0
6
 
7
  WORKDIR /app
8
- COPY . .
 
9
  RUN pip install --no-cache-dir -r requirements.txt
 
 
 
10
  EXPOSE 7860
 
11
  CMD ["python", "app.py"]
 
1
  FROM python:3.8-slim
2
 
3
+ # Suppress TensorFlow warnings
4
  ENV TF_CPP_MIN_LOG_LEVEL=3
5
  ENV TF_ENABLE_ONEDNN_OPTS=0
6
 
7
  WORKDIR /app
8
+
9
+ COPY requirements.txt .
10
  RUN pip install --no-cache-dir -r requirements.txt
11
+
12
+ COPY . .
13
+
14
  EXPOSE 7860
15
+
16
  CMD ["python", "app.py"]