This repository has been archived on 2019-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
2019-04-24 11:17:14 +02:00

12 lines
345 B
Docker

FROM alpine:3.9
ADD ["requirements.txt", "/requirements.txt"]
RUN apk upgrade --update && \
apk add --update python3 build-base openldap-dev python3-dev py3-psycopg2 && \
pip3 install -r /requirements.txt && rm /requirements.txt
WORKDIR /lama
EXPOSE 80
ENTRYPOINT ["python3", "manage.py"]
ADD ["src", "/lama"]
CMD ["runserver", "0.0.0.0:80"]