docker-ovh/django-cas/Dockerfile

21 lines
368 B
Docker
Raw Normal View History

2019-07-25 21:29:33 +02:00
# 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-django-cas-server \
python3-psycopg2 \
python3-whitenoise \
python3-ldap3 \
gunicorn3
COPY ./code /code/
WORKDIR /code/
EXPOSE 8000
ENTRYPOINT ["./docker-entrypoint.sh"]