Severian commited on
Commit
c86cb95
·
verified ·
1 Parent(s): e27f82b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -2
Dockerfile CHANGED
@@ -17,6 +17,9 @@ RUN apt-get update && apt-get install -y \
17
  git \
18
  gcc \
19
  python3-dev \
 
 
 
20
  && curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
21
  && apt-get install -y nodejs \
22
  && npm install -g npm@latest \
@@ -41,7 +44,7 @@ RUN mkdir -p api web /data/storage && \
41
  COPY --from=web --chown=user /app/web /app/web/
42
  COPY --from=api --chown=user /app/api /app/api/
43
 
44
- # Install Python requirements including gRPC
45
  RUN pip install --no-cache-dir \
46
  gunicorn \
47
  gevent \
@@ -80,7 +83,8 @@ RUN pip install --no-cache-dir \
80
  tiktoken \
81
  openai \
82
  tenacity \
83
- cryptography
 
84
 
85
  # Create symlink for persistent storage
86
  RUN ln -s /data/storage /app/api/storage
 
17
  git \
18
  gcc \
19
  python3-dev \
20
+ libgmp-dev \
21
+ libmpfr-dev \
22
+ libmpc-dev \
23
  && curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
24
  && apt-get install -y nodejs \
25
  && npm install -g npm@latest \
 
44
  COPY --from=web --chown=user /app/web /app/web/
45
  COPY --from=api --chown=user /app/api /app/api/
46
 
47
+ # Install Python requirements including gRPC and gmpy2
48
  RUN pip install --no-cache-dir \
49
  gunicorn \
50
  gevent \
 
83
  tiktoken \
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