Sign inSign up

snicolet/django-alpine

By snicolet

Updated over 7 years ago

This is a alpine linux based image to deploy a django project with nginx and gunicorn

Image
0

234

snicolet/django-alpine repository overview

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

Tag summary

Content type

Image

Digest

Size

40.6 MB

Last updated

over 7 years ago

docker pull snicolet/django-alpine