Calistus commited on
Commit
875fdc1
·
1 Parent(s): 4591384

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -1,8 +1,8 @@
1
  FROM python:3.10.2-slim-buster
2
- WORKDIR /app
3
- COPY ./requirements.txt /app/requirements.txt
4
- COPY pipelin.pkl /app/pipelin.pkl
5
- RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
6
  COPY . .
7
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
8
 
 
1
  FROM python:3.10.2-slim-buster
2
+ WORKDIR /code
3
+ COPY ./requirements.txt /code/requirements.txt
4
+ COPY pipelin.pkl /code/pipelin.pkl
5
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
6
  COPY . .
7
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
8