Dewasheesh commited on
Commit
3ebf441
·
verified ·
1 Parent(s): a115db8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -6,13 +6,10 @@ ENV PATH="/home/user/.local/bin:$PATH"
6
 
7
  WORKDIR /app
8
  COPY --chown=user ./requirements.txt requirements.txt
9
- COPY . .
10
 
11
- RUN apt-get update && apt-get install -y git
12
- RUN pip install --upgrade pip
13
- RUN pip install -r requirements.txt
14
 
15
- COPY --chown=user . /app
16
 
17
  EXPOSE 7860
18
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
6
 
7
  WORKDIR /app
8
  COPY --chown=user ./requirements.txt requirements.txt
9
+ COPY --chown=user . /app
10
 
11
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
 
 
12
 
 
13
 
14
  EXPOSE 7860
15
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]