1
0
Fork 0
mirror of https://github.com/shouptech/humulus.git synced 2026-02-03 17:09:44 +00:00

Add docker build files

This commit is contained in:
Emma 2019-06-24 12:28:12 -06:00
parent e1e7cca663
commit 8db04fc3aa
2 changed files with 31 additions and 0 deletions

18
.dockerignore Normal file
View file

@ -0,0 +1,18 @@
.dockerignore
Dockerfile
__pycache__
.pytest_cache
.coverage
htmlcov
dist/
build/
*.egg-info/
.eggs
*.pyc
*.pyo
*.pyd
.Python
env
*.log
.git
instance

13
Dockerfile Normal file
View file

@ -0,0 +1,13 @@
FROM python:3.7.3-alpine3.9
ADD . /app/
WORKDIR /app
RUN pip install .
RUN pip install waitress
RUN mkdir -p /app/instance
ENV HUMULUS_SETTINGS=/app/instance/settings.py
CMD ["waitress-serve", "--call", "humulus:create_app"]