Public Repository

Last pushed: 22 days ago
Short Description
Docker Image for python apps with alpine linux and dependencies for postgresql, pillow and lxml
Full Description

python-alpine

Docker Image for python/django apps with alpine linux and dependencies for postgresql, pillow, lxml and fii

Create a Dockerfile in your Python app project

FROM lgatica/python-alpine:3-onbuild
# replace this with your application's default port
EXPOSE 8000
CMD [ "python", "app.py" ]

You can then build and run the Docker image:

docker build -t my-python-app .
docker run -it --rm --name my-running-app my-python-app

Notes

The image assumes that your application has a file named package.json listing its dependencies and defining its start script.

Docker Pull Command
Owner
lgatica