move template to ./template;

added global README.md;
This commit is contained in:
Marco Zeisler
2020-11-17 19:43:35 +01:00
parent 920d91900c
commit 3ab10859d7
36 changed files with 12609 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
FROM python:3.7.4-slim
# Alpine isn't used here intentionally because especially with python there are often major issues when compiling dependencies
WORKDIR /app
RUN apt-get update && apt-get install -y build-essential
COPY ./requirements.txt ./
RUN pip install -r /app/requirements.txt
COPY . .
EXPOSE 4000
# The -u flag is important if you want to observe the logs, otherwise python buffers the output
ENTRYPOINT [ "python", "-u", "main.py" ]