'docker-base' is a base image for any web application e.g. django powered website
1.9K
Dockerfile linksdocker-base is a base image for a multi-container Docker web project. It will contain all the packages required for a normal web server. It was designed with django in mind and with Polymer for its frontend however it can easily be modified for any web application.
e.g.
mkdir app
e.g.
cd app
mkdir requirements
touch requirements/base.txt requirements/dev.text requirements/prod.txt
touch docker-entrypoint.sh
docker-entrypoint.sh should contain any relevant commands, inititalisation required for a successful run of this new container. Please see Dockerfile best practices for more information.
e.g.
FROM jtarball/docker-base:latest
MAINTAINER James Tarball <[email protected]>
ENV ENV_TYPE dev
ENV APP_DIR /app
EXPOSE 8000
CMD ["app"]
This Dockerfile MUST include the following:
e.g.
docker-compose build
docker-compose up
View license information for the software contained in this image.
Any feedback or comments would be greatly appreciated: [email protected]
If you have any problems with or questions about this image, please contact us through a GitHub issue.
You can also reach me by email. I would be happy to help [email protected]
Content type
Image
Digest
sha256:3f38167a0…
Size
293.8 MB
Last updated
about 10 years ago
docker pull jtarball/docker-base