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

ARG PYTHON_VERSION="3.8.12-slim-buster"
FROM python:${PYTHON_VERSION}
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
wget=1.* \
netcat=1.* \
libpq-dev=11.* \
unixodbc-dev=2.* \
g++=4:* \
libssl-dev=1.* \
&& apt-get clean
WORKDIR /src
COPY ./Pipfile* /src/
RUN pip install --upgrade pip \
&& pip install pipenv \
&& pipenv install --system --dev
COPY tools/ /opt/bin/
ENTRYPOINT [ "/opt/bin/dev-django.sh" ]