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-05-02 13:54:04 +02:00

13 lines
377 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 gettext && \
pip3 install -r /requirements.txt && rm /requirements.txt
WORKDIR /lama
EXPOSE 80
COPY entrypoint.sh /
ENTRYPOINT ["python3", "manage.py"]
CMD ["runserver", "0.0.0.0:80"]
#CMD ["/entrypoint.sh"]