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.

23 lines
468 B

  1. ARG PYTHON_VERSION="3.8.12-slim-buster"
  2. FROM python:${PYTHON_VERSION}
  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 \
  15. && pip install pipenv \
  16. && pipenv install --system --dev
  17. COPY tools/ /opt/bin/
  18. ENTRYPOINT [ "/opt/bin/dev-django.sh" ]