Commit 0daff69a authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

splitting requirements.txt to speed up build

parent a354a45e
Pipeline #66946 passed with stages
in 4 minutes and 22 seconds
......@@ -5,6 +5,8 @@ EXPOSE 8000
WORKDIR /code
ENTRYPOINT ["/docker-entrypoint.sh"]
COPY requirements-stable.txt /code/
RUN addgroup --gid 1001 kiwi \
&& adduser --disabled-password --gecos '' --uid 1001 --gid 1001 kiwi \
&& mkdir -p /code/frontend \
......@@ -16,7 +18,9 @@ RUN addgroup --gid 1001 kiwi \
&& mkdir -p /code/.static \
&& chown kiwi:kiwi /code/.static \
&& mkdir -p /code/backend/migrations/ \
&& chmod a+wx backend/migrations/
&& chmod a+wx backend/migrations/ \
&& python -m pip install --upgrade pip setuptools \
&& pip install -r requirements-stable.txt
CMD ["gunicorn", "--bind", ":8000", "config.wsgi:application"]
......
numpy
pandas
scipy
scikit_learn
django
djangorestframework
huey
inotify
gunicorn
python-decouple
# end of file
\ No newline at end of file
git+https://github.com/scwatts/spectracl.git@v0.0.2
numpy
pandas
scipy
scikit_learn
django
djangorestframework
huey
inotify
gunicorn
python-decouple
-r requirements-stable.txt
# end of file
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment