You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
292 B

4 years ago
  1. FROM python:3.7
  2. LABEL maintainer="$REPO_OWNER"
  3. WORKDIR /project
  4. ADD . /project
  5. RUN rm /project/.envrc
  6. RUN rm -rf /project/env
  7. RUN apt-get update && apt-get install -y python3-dev libldap2-dev libsasl2-dev libssl-dev
  8. RUN pip install -r requirements.txt
  9. CMD ["flask","run","--host=0.0.0.0"]