MichaelJuannn commited on
Commit
dee3cdf
·
verified ·
1 Parent(s): 7026c67

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -5,7 +5,7 @@ FROM python:3.9
5
  WORKDIR /app
6
 
7
  #
8
- COPY ./ /app/
9
 
10
  #
11
  RUN pip install fastapi uvicorn tensorflow==2.14.0 transformers
@@ -15,4 +15,4 @@ RUN pip install fastapi uvicorn tensorflow==2.14.0 transformers
15
 
16
 
17
  #
18
- # CMD ["fastapi", "run", "src/main.py", "--port", "3030"]
 
5
  WORKDIR /app
6
 
7
  #
8
+ COPY . .
9
 
10
  #
11
  RUN pip install fastapi uvicorn tensorflow==2.14.0 transformers
 
15
 
16
 
17
  #
18
+ # CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8080"]