Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
FROM registry.gitlab.com/
|
2 |
-
#RUN pip install torch
|
3 |
|
4 |
ENV SERVER_PORT 5000
|
5 |
ENV APP_PORT 7860
|
6 |
ENV OMP_NUM_THREADS 4
|
7 |
ENV CT2_USE_EXPERIMENTAL_PACKED_GEMM 1
|
8 |
ENV CT2_FORCE_CPU_ISA AVX512
|
|
|
9 |
|
10 |
EXPOSE $APP_PORT
|
|
|
1 |
+
FROM registry.gitlab.com/enpassant.rack/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 |
+
ENV WORKER_COUNT 2
|
9 |
|
10 |
EXPOSE $APP_PORT
|