Severian commited on
Commit
dbd0c54
·
1 Parent(s): 74adc3c

feat: optimize Dockerfile for HuggingFace Spaces deployment

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -1
Dockerfile CHANGED
@@ -70,7 +70,12 @@ RUN pip install --no-cache-dir \
70
  grpcio \
71
  pydantic-settings \
72
  protobuf \
73
- grpcio-tools && \
 
 
 
 
 
74
  poetry config virtualenvs.create false && \
75
  poetry install --no-dev --no-interaction --no-ansi
76
 
@@ -94,6 +99,11 @@ RUN apt-get install -y --no-install-recommends \
94
  pydantic-settings \
95
  protobuf \
96
  grpcio-tools \
 
 
 
 
 
97
  nltk && \
98
  python -m nltk.downloader punkt averaged_perceptron_tagger
99
 
 
70
  grpcio \
71
  pydantic-settings \
72
  protobuf \
73
+ grpcio-tools \
74
+ flask \
75
+ flask-cors \
76
+ flask-sqlalchemy \
77
+ flask-migrate \
78
+ flask-login && \
79
  poetry config virtualenvs.create false && \
80
  poetry install --no-dev --no-interaction --no-ansi
81
 
 
99
  pydantic-settings \
100
  protobuf \
101
  grpcio-tools \
102
+ flask \
103
+ flask-cors \
104
+ flask-sqlalchemy \
105
+ flask-migrate \
106
+ flask-login \
107
  nltk && \
108
  python -m nltk.downloader punkt averaged_perceptron_tagger
109