|
@@ -8,13 +8,13 @@ RUN apk add --no-cache --update-cache \
|
|
|
|
|
|
# postgres dependencies
|
|
|
RUN apk add --no-cache --update-cache \
|
|
|
- postgresql-dev=9.6.10-r0 --repository=http://dl-cdn.alpinelinux.org/alpine/v3.5/main
|
|
|
+ postgresql-dev=9.6.10-r0 --repository=http://dl-cdn.alpinelinux.org/alpine/v3.5/main
|
|
|
|
|
|
# numpy-scipy dependencies
|
|
|
RUN apk add --no-cache --update-cache \
|
|
|
- gfortran python python-dev py-pip \
|
|
|
- build-base wget freetype-dev \
|
|
|
- libpng-dev openblas-dev
|
|
|
+ gfortran python python-dev py-pip \
|
|
|
+ build-base wget freetype-dev \
|
|
|
+ libpng-dev openblas-dev
|
|
|
RUN ln -s /usr/include/locale.h /usr/include/xlocale.h
|
|
|
|
|
|
RUN mkdir /polzy
|
|
@@ -25,9 +25,10 @@ RUN git clone https://gogs.earthsquad.global/athos/PoLZy_Showcase .
|
|
|
RUN python -m venv venv
|
|
|
RUN venv/bin/pip install --upgrade pip
|
|
|
RUN venv/bin/pip install -r requirements.txt
|
|
|
-RUN venv/bin/pip install gunicorn
|
|
|
-RUN venv/bin/pip install cryptography psycopg2
|
|
|
-RUN venv/bin/pip install gevent
|
|
|
+RUN venv/bin/pip install gunicorn gevent
|
|
|
+
|
|
|
+# postgres support
|
|
|
+#RUN venv/bin/pip install cryptography psycopg2
|
|
|
|
|
|
COPY runbackend.sh runbackend.sh
|
|
|
RUN chmod +x runbackend.sh
|