Severian commited on
Commit
778adb9
·
1 Parent(s): dbd0c54

feat: optimize Dockerfile for HuggingFace Spaces deployment

Browse files
Files changed (1) hide show
  1. Dockerfile +23 -1
Dockerfile CHANGED
@@ -75,7 +75,18 @@ RUN pip install --no-cache-dir \
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
 
@@ -104,6 +115,17 @@ RUN apt-get install -y --no-install-recommends \
104
  flask-sqlalchemy \
105
  flask-migrate \
106
  flask-login \
 
 
 
 
 
 
 
 
 
 
 
107
  nltk && \
108
  python -m nltk.downloader punkt averaged_perceptron_tagger
109
 
 
75
  flask-cors \
76
  flask-sqlalchemy \
77
  flask-migrate \
78
+ flask-login \
79
+ PyYAML \
80
+ celery \
81
+ redis \
82
+ psycopg2-binary \
83
+ sqlalchemy \
84
+ alembic \
85
+ pyjwt \
86
+ requests \
87
+ numpy \
88
+ pandas \
89
+ python-dotenv && \
90
  poetry config virtualenvs.create false && \
91
  poetry install --no-dev --no-interaction --no-ansi
92
 
 
115
  flask-sqlalchemy \
116
  flask-migrate \
117
  flask-login \
118
+ PyYAML \
119
+ celery \
120
+ redis \
121
+ psycopg2-binary \
122
+ sqlalchemy \
123
+ alembic \
124
+ pyjwt \
125
+ requests \
126
+ numpy \
127
+ pandas \
128
+ python-dotenv \
129
  nltk && \
130
  python -m nltk.downloader punkt averaged_perceptron_tagger
131