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.

22 lines
473 B

  1. ARG PYTHON_VERSION="3.8.6"
  2. FROM python:${PYTHON_VERSION}-slim-buster
  3. RUN apt-get update \
  4. && apt-get install -y --no-install-recommends \
  5. wget=1.* \
  6. netcat=1.* \
  7. libpq-dev=11.* \
  8. unixodbc-dev=2.* \
  9. g++=4:* \
  10. libssl-dev=1.* \
  11. && apt-get clean
  12. WORKDIR /src
  13. COPY ./Pipfile* /src/
  14. RUN pip install --upgrade pip && pip install pipenv==2020.11.15 \
  15. && pipenv install --system --dev
  16. COPY tools/ /opt/bin/
  17. ENTRYPOINT [ "/opt/bin/dev-django.sh" ]