https://github.com/mathiasgruber/python-backend-environment
Docker image suitable for python backend applications to be deployed on Azure App Service
https://github.com/mathiasgruber/python-backend-environment
Last synced: 3 months ago
JSON representation
Docker image suitable for python backend applications to be deployed on Azure App Service
- Host: GitHub
- URL: https://github.com/mathiasgruber/python-backend-environment
- Owner: MathiasGruber
- License: mit
- Created: 2021-01-28T07:58:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-27T08:52:22.000Z (over 2 years ago)
- Last Synced: 2025-04-02T04:01:40.812Z (3 months ago)
- Language: Shell
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```dockerfile
# 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
```# Build locally
```bash
# 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 .
```