zaidmehdi commited on
Commit
ab7587a
1 Parent(s): a94ca7c

fix src and models copy

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -7,8 +7,9 @@ COPY requirements.txt .
7
  RUN pip install --upgrade pip && \
8
  pip install --no-cache-dir -r requirements.txt
9
 
10
- COPY src models /app/
 
11
 
12
  EXPOSE 80
13
 
14
- CMD ["python", "src/main.py"]
 
7
  RUN pip install --upgrade pip && \
8
  pip install --no-cache-dir -r requirements.txt
9
 
10
+ COPY src /app/src
11
+ COPY models /app/models
12
 
13
  EXPOSE 80
14
 
15
+ CMD ["python", "-m", "src.main"]