eaedk commited on
Commit
3f58799
1 Parent(s): c059c71

add app workdir

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -24,12 +24,12 @@ FROM python:3.9
24
 
25
  WORKDIR /app
26
 
27
- COPY requirements.txt ./
28
 
29
- RUN pip install -r requirements.txt
30
 
31
  EXPOSE 7860
32
 
33
- COPY . .
34
 
35
  CMD ["uvicorn", "src.main_sentiment:app", "--host", "0.0.0.0", "--port", "7860"]
 
24
 
25
  WORKDIR /app
26
 
27
+ COPY requirements.txt /app/
28
 
29
+ RUN pip install -r /app/requirements.txt
30
 
31
  EXPOSE 7860
32
 
33
+ COPY . /app/
34
 
35
  CMD ["uvicorn", "src.main_sentiment:app", "--host", "0.0.0.0", "--port", "7860"]