Sign inSign up

nanomathias/python-backend-environment

By nanomathias

•Updated almost 4 years ago

Docker image for python backend to be used on Azure App Service

Image
0

10K+

nanomathias/python-backend-environment repository overview

⁠python-backend-image

Docker image for python backend image to be used on Azure App Service deployements of e.g. Django, Flask, etc.

⁠Use in docker-compose

Typically I use this image in docker-compose as follows

With the Dockerfile as follows:

# Note: You can use any Debian/Ubuntu based image you want.
FROM nanomathias/python-backend-environment

# [Optional] Uncomment this section to install additional OS packages.
# RUN apt-get update && apt-get -y install --no-install-recommends <your-package-list-here>

⁠Build locally

# Setup docker builder
docker buildx create --name mybuilder --driver-opt network=host --use

# Build docker image (multi-arch version)
docker buildx build \
    --push \
    --tag nanomathias/python-backend-environment:release-1.0.9 \
    --platform linux/amd64,linux/arm64 .

Tag summary

Content type

Image

Digest

sha256:d14abc161…

Size

1003.2 MB

Last updated

almost 4 years ago

docker pull nanomathias/python-backend-environment