...
 
Commits (3)
FROM debian:buster FROM debian:buster
RUN apt-get update && apt-get -y upgrade RUN apt-get update && apt-get -y upgrade
RUN apt-get install -y uwsgi python3.7 uwsgi-plugin-python3 python3-venv git libpq-dev libmariadb-dev libev-dev RUN apt-get install -y uwsgi python3.7 uwsgi-plugin-python3 python3-venv git libpq-dev libmariadb-dev libmariadb-dev-compat gcc python3-dev libev-dev
COPY install.sh /tmp/install.sh COPY install.sh /tmp/install.sh
COPY frms.ini /etc/uwsgi/apps-enabled COPY frms.ini /etc/uwsgi/apps-enabled
COPY startsync.sh /var/www/django/frms/startsync.sh COPY startsync.sh /var/www/django/frms/startsync.sh
......
...@@ -9,6 +9,7 @@ source $TARGET/env/bin/activate ...@@ -9,6 +9,7 @@ source $TARGET/env/bin/activate
cd $TARGET/app cd $TARGET/app
pip install -r requirements.txt pip install -r requirements.txt
pip install ipython pip install ipython
pip install mysqlclient
mkdir -p $TARGET/static mkdir -p $TARGET/static
chown www-data: $TARGET/static chown www-data: $TARGET/static