Svngoku commited on
Commit
d17e482
1 Parent(s): d055275

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -6
Dockerfile CHANGED
@@ -1,9 +1,9 @@
1
  FROM ghcr.io/winstxnhdw/nllb-api:main
2
 
3
- ENV SERVER_PORT 5000
4
- ENV APP_PORT 7860
5
- ENV OMP_NUM_THREADS 4
6
- ENV CT2_USE_EXPERIMENTAL_PACKED_GEMM 1
7
- ENV CT2_FORCE_CPU_ISA AVX512
8
 
9
- EXPOSE $APP_PORT
 
1
  FROM ghcr.io/winstxnhdw/nllb-api:main
2
 
3
+ ENV SERVER_PORT=7860
4
+ ENV OMP_NUM_THREADS=4
5
+ ENV CT2_USE_EXPERIMENTAL_PACKED_GEMM=1
6
+ ENV CT2_FORCE_CPU_ISA=AVX512
7
+ ENV WORKER_COUNT=2
8
 
9
+ EXPOSE $SERVER_PORT