Severian commited on
Commit
e2f2d84
1 Parent(s): 5bb43a7

feat: optimize Dockerfile for HuggingFace Spaces deployment

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -1
Dockerfile CHANGED
@@ -91,7 +91,13 @@ RUN pip install --no-cache-dir \
91
  requests \
92
  numpy \
93
  pandas \
94
- python-dotenv && \
 
 
 
 
 
 
95
  poetry config virtualenvs.create false && \
96
  poetry install --no-dev --no-interaction --no-ansi
97
 
@@ -136,6 +142,12 @@ RUN apt-get install -y --no-install-recommends \
136
  numpy \
137
  pandas \
138
  python-dotenv \
 
 
 
 
 
 
139
  nltk && \
140
  python -m nltk.downloader punkt averaged_perceptron_tagger
141
 
 
91
  requests \
92
  numpy \
93
  pandas \
94
+ python-dotenv \
95
+ pycryptodome \
96
+ cryptography \
97
+ bcrypt \
98
+ python-jose[cryptography] \
99
+ passlib \
100
+ python-multipart && \
101
  poetry config virtualenvs.create false && \
102
  poetry install --no-dev --no-interaction --no-ansi
103
 
 
142
  numpy \
143
  pandas \
144
  python-dotenv \
145
+ pycryptodome \
146
+ cryptography \
147
+ bcrypt \
148
+ python-jose[cryptography] \
149
+ passlib \
150
+ python-multipart \
151
  nltk && \
152
  python -m nltk.downloader punkt averaged_perceptron_tagger
153