13 Commits

Author SHA1 Message Date
Brett Randall be1413fb02 Changed Dockerfile to resolve deps using pipenv/Pipefile(.lock) before pip3->setup.py for httpbin.
Also added Pipfile(.lock) prior to the remaining source, improving Docker image cacheability.

Git is also required to fetch pyyaml.

This results in more deterministic and reproducible image builds, since httpbin dependencies
are installed using locked versions from Pipfile.lock before httpbin is itself installed.

Fixed #493.
2018-10-26 08:40:54 +11:00
Steffen Schröder 4c267df3d9 Bump version to 0.9.2 2018-07-06 21:35:00 +02:00
kennethreitz 56a2cf5763 new version 2018-07-04 11:29:12 -04:00
kennethreitz 665ec9710c labels for dockerfile 2018-07-04 10:01:51 -04:00
Steffen Schröder d449969d1b Reduce the number of docker layers 2018-05-19 20:59:06 +02:00
Steffen Schröder 28247f47e6 Improve usage of docker build cache 2018-05-19 20:51:14 +02:00
kennethreitz 0d7f363f63 Docker updates (#452)
* docker optimizations

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>

* port 80

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>

* no web concurrency

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>

* docker compose

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>

* v0.8.0

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-17 17:57:51 -05:00
Andrew Szeto d76add4d7f Change base Dockerfile from Python 2 to Python 3
As @kennethreitz likes to say:

> The use of Python 3 is highly preferred over Python 2. Consider upgrading
> your applications and infrastructure if you find yourself still using Python
> 2 in production today. If you are using Python 3, congratulations — you are
> indeed a person of excellent taste.
2017-09-07 23:37:09 -07:00
Ondřej Bárta 650f829b2c Update dockerfile 2017-07-18 20:02:06 +02:00
kennethreitz fb668b582d updated dockerfile 2017-03-17 12:55:46 -04:00
kennethreitz 2fc2a3f47a Update Dockerfile 2017-03-17 12:46:40 -04:00
Cory Benfield bf63216aa1 Set GUNICORN_WORKERS by environment variable. 2015-02-22 09:38:00 +00:00
Cory Benfield 9582a68903 Add basic Dockerfile. 2015-02-22 08:42:20 +00:00