Sign inSign up

lgatica/python-alpine

By lgatica

Updated almost 9 years ago

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

Image
3

50K+

lgatica/python-alpine repository overview

python-alpine

dockeri.co

Build Status

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.

Tag summary

Content type

Image

Digest

Size

92.3 MB

Last updated

almost 9 years ago

docker pull lgatica/python-alpine