Skip to content

Commit

Permalink
update docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
muzammil360 committed Nov 10, 2023
1 parent d2a82ad commit 7ecc5d5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
FROM python:3.8-alpine

WORKDIR /app
RUN pip install --upgrade pip

COPY . /app

COPY requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

COPY . /app
RUN python download_weights.py

CMD ["uvicorn","server:app"]

0 comments on commit 7ecc5d5

Please sign in to comment.