From 67a0b9f057113f8b82c0a69d0e0cc0e581ada0aa Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Tue, 10 Aug 2021 15:03:32 +0200 Subject: [PATCH] added Dockerfile --- Dockerfile | 13 +++++++ requirements.txt | 91 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 104 insertions(+) create mode 100644 Dockerfile create mode 100644 requirements.txt diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..aa87bb5 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM python:3.8-alpine + +# RUN apk add --no-cache something +RUN pip install --upgrade pip +RUN pip install gunicorn + +COPY . /app +WORKDIR /app + +RUN pip install -r requirements.txt +RUN flit install --pth-file + +CMD ["gunicorn", "--paster", "/app/production.ini", "-b", "0.0.0.0:8000"] diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..81d4eae --- /dev/null +++ b/requirements.txt @@ -0,0 +1,91 @@ +appdirs==1.4.4 +argon2-cffi==20.1.0 +attrs==20.2.0 +bcrypt==3.2.0 +beautifulsoup4==4.9.3 +black==20.8b1 +certifi==2020.6.20 +cffi==1.14.3 +cfgv==3.2.0 +Chameleon==3.8.1 +chardet==3.0.4 +click==7.1.2 +colander==1.8.2 +coverage==5.3 +cryptography==3.1.1 +deform==2.0.14 +distlib==0.3.1 +docutils==0.16 +filelock==3.0.12 +flake8==3.8.4 +flake8-comprehensions==3.2.3 +flit==3.0.0 +flit-core==3.0.0 +hupper==1.10.2 +identify==1.5.5 +idna==2.10 +iniconfig==1.0.1 +iso8601==0.1.13 +isort==5.5.4 +jeepney==0.4.3 +Jinja2==2.11.2 +keyring==21.4.0 +Mako==1.1.3 +MarkupSafe==1.1.1 +mccabe==0.6.1 +mypy-extensions==0.4.3 +nodeenv==1.5.0 +ordr3==0.0.1 +packaging==20.4 +passlib==1.7.2 +PasteDeploy==2.1.0 +pathspec==0.8.0 +peppercorn==0.6 +pip==20.2.3 +pkg-resources==0.0.0 +plaster==1.0 +plaster-pastedeploy==0.7 +pluggy==0.13.1 +pre-commit==2.7.1 +py==1.9.0 +pycodestyle==2.6.0 +pycparser==2.20 +pyflakes==2.2.0 +Pygments==2.7.1 +pyparsing==2.4.7 +pyramid==1.10.4 +pyramid-debugtoolbar==4.6.1 +pyramid-jinja2==2.8 +pyramid-mailer==0.15.1 +pyramid-mako==1.1.0 +pyramid-retry==2.1.1 +pyramid-tm==2.4 +pytest==6.1.1 +pytest-cov==2.10.1 +pytest-mock==3.3.1 +pytoml==0.1.21 +PyYAML==5.3.1 +regex==2020.9.27 +repoze.lru==0.7 +repoze.sendmail==4.4.1 +requests==2.24.0 +SecretStorage==3.1.2 +setuptools==44.0.0 +six==1.15.0 +soupsieve==2.0.1 +SQLAlchemy==1.3.19 +toml==0.10.1 +tox==3.20.0 +transaction==3.0.0 +translationstring==1.4 +typed-ast==1.4.1 +typing-extensions==3.7.4.3 +urllib3==1.25.10 +venusian==3.0.0 +virtualenv==20.0.33 +waitress==1.4.4 +WebOb==1.8.6 +WebTest==2.0.35 +zope.deprecation==4.4.0 +zope.interface==5.1.2 +zope.sqlalchemy==1.3