mirror of
https://github.com/tebarius/Docker-Flask-QR.git
synced 2025-12-20 22:23:30 +01:00
19 lines
387 B
Docker
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"] |