This is a alpine linux based image to deploy a django project with nginx and gunicorn
234
This container need to be an intermediate image, you have to do something like:
FROM snicolet/django-alpine MAINTAINER ... ENV APP_NAME=myapplication COPY doc /var/www/app COPY doc/www/static/ /var/www/static
if you wish to manualy copy the static files, put them into /var/www/static
the image will use the port 80 so you have to do: docker run -d -p 80:80 my/container
the image size is about ~103Mb
Content type
Image
Digest
Size
40.6 MB
Last updated
over 7 years ago
docker pull snicolet/django-alpine