add clients for mysql, postgresql, and oracle

This commit is contained in:
Brennen Raimer
2019-06-01 11:07:56 -04:00
parent c3ae58c60b
commit 22b8cb6aee

View File

@@ -32,7 +32,7 @@ RUN groupadd -g 2300 tmpgroup \
&& apt-get -y install nginx nginx-extras pwgen \
&& rm -rf /var/lib/apt/lists/*
RUN pip --no-cache-dir install pipenv gunicorn
RUN pip --no-cache-dir install pipenv gunicorn mysqlclient psycopg2 cx-Oracle
COPY Pipfile* /srv/www/pinry/
@@ -45,7 +45,7 @@ COPY . /srv/www/pinry/
RUN chown -R www-data:www-data /srv/www \
&& cd /srv/www/pinry \
&& python manage.py collectstatic --noinput
# Load in all of our config files.
ADD docker/nginx/nginx.conf /etc/nginx/nginx.conf