Initial commit

This commit is contained in:
2024-01-13 18:20:27 +01:00
commit 4265d64e57
57 changed files with 1623 additions and 0 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM python:slim
LABEL authors="tebarius"
LABEL version="1.2.1"
LABEL description="QR-Code-Generator-Server with Flask-App"
WORKDIR /app
COPY ./app /app/
RUN pip install --upgrade pip
RUN pip install --trusted-host pypi.python.org -r requirements.txt
EXPOSE 8002
ENV HTTP_METHOD POST
CMD ["sh", "-c", "python ${HTTP_METHOD}-Flask-QR.py"]