lgaticaq / python-alpine

Docker Image based in python onbuild with alpine linux and libs for postgres, pillow and lxml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Docker Image based in python onbuild with alpine linux and libs for postgres, pillow and lxml

License:MIT License