Commit 1f61def3 authored by Daniel Schreiber's avatar Daniel Schreiber

Merge branch 'docker' into 'master'

add mariadb support

See merge request !14
parents 543726b1 0804c7b0
Pipeline #30056 passed with stage
in 19 seconds
FROM debian:buster
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
RUN apt-get install -y uwsgi python3.7 uwsgi-plugin-python3 python3-venv git libpq-dev libmariadb-dev libmariadb-dev-compat gcc python3-dev
COPY install.sh /tmp/install.sh
COPY frms.ini /etc/uwsgi/apps-enabled
COPY startsync.sh /var/www/django/frms/startsync.sh
......
......@@ -9,6 +9,7 @@ source $TARGET/env/bin/activate
cd $TARGET/app
pip install -r requirements.txt
pip install ipython
pip install mysqlclient
mkdir -p $TARGET/static
chown www-data: $TARGET/static
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