Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +6 -6
Dockerfile
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
FROM ghcr.io/winstxnhdw/nllb-api:main
|
2 |
|
3 |
-
ENV SERVER_PORT
|
4 |
-
ENV
|
5 |
-
ENV
|
6 |
-
ENV
|
7 |
-
ENV
|
8 |
|
9 |
-
EXPOSE $
|
|
|
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
|