Files
Docker-Flask-QR/Dockerfile

19 lines
387 B
Docker

FROM python:slim
LABEL authors="tebarius"
LABEL version="1.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
# with GET-REQUESTS
#CMD ["python", "GET-Flask-QR.py"]
# the same with POST-REQUESTS
CMD ["python", "Post-Flask-QR.py"]