From 68f8582f0453d7a845e055acb3ab9f551e6d3cd5 Mon Sep 17 00:00:00 2001 From: Antoine Goutenoir Date: Wed, 23 Oct 2019 03:52:35 +0200 Subject: [PATCH] Add a tentative Dockerfile. --- Dockerfile | 9 +++++++++ tests/__init__.py | 0 2 files changed, 9 insertions(+), 0 deletions(-) create mode 100644 Dockerfile create mode 100644 tests/__init__.py diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c554664 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM python:2.7 +ADD . /app +WORKDIR /app +RUN pip install -r requirements.txt +ENV FLASK_APP "flaskr" +ENV FLASK_ENV "production" +ENV FLASK_RUN_EXTRA_FILES "content.yml" +#CMD flask run +CMD python web/wsgi.py \ No newline at end of file diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/__init__.py -- libgit2 0.21.2