Add MySQL und Postgres drivers to the deployment

This commit is contained in:
Raphael Michel
2015-05-18 16:47:14 +02:00
parent 73a469485b
commit 5a4952eb7f
3 changed files with 6 additions and 0 deletions

View File

@@ -24,6 +24,8 @@ RUN git clone --recursive --depth 1 https://github.com/pretix/pretix.git /pretix
WORKDIR /pretix/src
RUN pip3 install -r requirements.txt
RUN pip3 install -r requirements/mysql.txt
RUN pip3 install -r requirements/postgres.txt
RUN pip3 install gunicorn
RUN make production

View File

@@ -0,0 +1,2 @@
--allow-external mysql-connector-python
mysql-connector-python

View File

@@ -0,0 +1,2 @@
psycopg2