CaesarCloudSync commited on
Commit
70d307c
·
1 Parent(s): 44f44d9

CaesarAINL Deployed Possibly Maybe

Browse files
Files changed (1) hide show
  1. DockerFile +17 -4
DockerFile CHANGED
@@ -1,15 +1,28 @@
1
- #FROM tensorflow/tensorflow:latest-gpu-jupyter
2
- FROM python:3.10
3
- #VOLUME CaesarAINL CaesarAINL
4
  WORKDIR /code
5
 
6
  COPY ./requirements.txt /code/requirements.txt
7
 
8
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
9
 
10
- RUN pip install flask flask_cors tensorflow_hub tensorflow_text scikit-learn tqdm matplotlib gunicorn
11
  COPY . .
12
 
13
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
 
 
1
+
2
+ FROM python:3.9
3
+
4
  WORKDIR /code
5
 
6
  COPY ./requirements.txt /code/requirements.txt
7
 
8
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
9
 
 
10
  COPY . .
11
 
12
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
13
 
14
+ #FROM tensorflow/tensorflow:latest-gpu-jupyter
15
+ #FROM python:3.10
16
+ ##VOLUME CaesarAINL CaesarAINL
17
+ #WORKDIR /code
18
+
19
+ #COPY ./requirements.txt /code/requirements.txt
20
+
21
+ #RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
22
+
23
+ #RUN pip install flask flask_cors tensorflow_hub tensorflow_text scikit-learn tqdm matplotlib gunicorn
24
+ #COPY . .
25
+
26
+ #CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
27
+
28