Update Dockerfile
Browse files- Dockerfile +6 -2
Dockerfile
CHANGED
@@ -44,7 +44,7 @@ RUN mkdir -p api web /data/storage && \
|
|
44 |
COPY --from=web --chown=user /app/web /app/web/
|
45 |
COPY --from=api --chown=user /app/api /app/api/
|
46 |
|
47 |
-
|
48 |
RUN pip install --no-cache-dir \
|
49 |
gunicorn \
|
50 |
gevent \
|
@@ -84,7 +84,11 @@ RUN pip install --no-cache-dir \
|
|
84 |
openai \
|
85 |
tenacity \
|
86 |
cryptography \
|
87 |
-
gmpy2==2.2.1
|
|
|
|
|
|
|
|
|
88 |
|
89 |
# Create symlink for persistent storage
|
90 |
RUN ln -s /data/storage /app/api/storage
|
|
|
44 |
COPY --from=web --chown=user /app/web /app/web/
|
45 |
COPY --from=api --chown=user /app/api /app/api/
|
46 |
|
47 |
+
|
48 |
RUN pip install --no-cache-dir \
|
49 |
gunicorn \
|
50 |
gevent \
|
|
|
84 |
openai \
|
85 |
tenacity \
|
86 |
cryptography \
|
87 |
+
gmpy2==2.2.1 \
|
88 |
+
transformers \
|
89 |
+
torch \
|
90 |
+
sentencepiece \
|
91 |
+
protobuf
|
92 |
|
93 |
# Create symlink for persistent storage
|
94 |
RUN ln -s /data/storage /app/api/storage
|