Skip to content

Commit

Permalink
fix: docker
Browse files Browse the repository at this point in the history
  • Loading branch information
jonafeucht committed May 4, 2024
1 parent cbfa50b commit 4d29cd2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ WORKDIR /app
COPY . /app
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
CMD ["fastapi", "run", "main.py", "--host", "0.0.0.0", "--port", "8000"]
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
fastapi[standard]==0.111.0
uvicorn[standard]==0.29.0
Pillow==10.3.0
transformers==4.40.1
torch==2.3.0
Expand Down

0 comments on commit 4d29cd2

Please sign in to comment.