Commit graph

6 commits

Author SHA1 Message Date
Benjamin Bouvier
9a889f61c7 [docker] Download IHM from Pypy or reference git repo;
This creates two modes to run the Docker image:
- either in non-NIGHTLY mode, the latest version will be installed from
pypy.
- or in Nightly mode, it will clone the repository and update it every
time the instance is restarted.

It also updates Python to 3.7, for additional goodness.
2019-07-31 13:02:03 +02:00
mcnesium
cdbcd763ef update apk before installing dependencies (#398) 2018-12-25 16:58:15 +01:00
Carey Metcalfe
94e2befb82 Fix cffi installation in Dockerfile (#364)
The Python cffi package requires the libc, libffi and openssl
development packages, as well as gcc to compile it.
2018-08-03 17:11:12 +02:00
0livd
225849ac71 Docker: Fix gunicorn not using ihm system package (#320)
Fixes #319
2018-02-07 09:37:49 +01:00
0livd
d9471733f8 Fix some anti patterns in docker deployment (#321)
- Use exec to run gunicorn and avoid creating a new process.
- Add the possibility to pass any additional parameters to
gunicorn.
- Use only one gunicorn worker by default as the usual way to
scale the app in production would be to use the scale command
of the cluster scheduler. Additional workers could still be
added by passing the "-w" gunicorn parameter to docker run.
2018-02-07 09:37:21 +01:00
0livd
b4961f646a Add a DockerFile (#272)
Can be used to deploy the latest version from
PyPI in a production environment or from the
master branch in a dev environment.
2017-10-25 23:37:55 +02:00