Skip to content

Commit

Permalink
feat: update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
myeolinmalchi committed Jan 28, 2025
1 parent 098e109 commit ceb01fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ RUN \

EXPOSE 8000

ENTRYPOINT ["poetry", "run", "python3.10", "main.py"]
CMD ["--device", "cpu", "--batch-size", "1", "--max-workers", "2", "--backend", "llama_cpp", "--model-path", "models/bge-m3-q8_0.gguf"]
ENTRYPOINT ["poetry", "run", "uvicorn", "main:app"]
CMD ["--port", "8000", "--workers", "1", "--host", "0.0.0.0"]

0 comments on commit ceb01fc

Please sign in to comment.