docker-ovh/django-cas/Dockerfile
2019-07-25 22:10:55 +02:00

27 lines
487 B
Docker

# Django CAS server Dockerfile
#
# https://github.com/nitmir/django-cas-server
#
# Author: erdnaxe
FROM debian:buster-slim
RUN apt-get update && apt-get install -y \
python3-pip \
python3-django \
python3-lxml \
python3-requests \
python3-requests-futures \
python3-six \
python3-psycopg2 \
python3-whitenoise \
python3-ldap3 \
gunicorn3
RUN pip3 install django-cas-server
COPY ./code /code/
WORKDIR /code/
EXPOSE 8000
ENTRYPOINT ["./docker-entrypoint.sh"]