Custom docker image based on python slim docker image
398
This docker image based on python slim docker image. The image include gosu, tini and some system libraries required by popular Python and Django packages.
docker pull digitdroid/python3:latest
FROM digitdroid/python3:latest
COPY requirements.txt /requirements.txt
RUN gosu app pip install --no-cache-dir -r /requirements.txt
COPY ./src /app
EXPOSE 8000
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]
You can find source code for this image here.
Content type
Image
Digest
Size
165.2 MB
Last updated
over 6 years ago
docker pull digitdroid/python3