Skip to content

Commit

Permalink
use only one worker per image
Browse files Browse the repository at this point in the history
  • Loading branch information
attilabalint committed Apr 25, 2024
1 parent f0ab1d1 commit 8d2f9a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/amazon-chronos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ ENV ENFOBENCH_MODEL_NAME="chronos-t5-tiny"
ENV ENFOBENCH_NUM_SAMPLES="20"

EXPOSE 3000
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "3000"]
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "3000", "--workers", "1"]

0 comments on commit 8d2f9a9

Please sign in to comment.