Files
Docker-Flask-QR/Dockerfile-RasPi
2023-10-31 20:15:54 +01:00

16 lines
332 B
Plaintext

FROM python:3.9.18-slim
LABEL authors="tebarius"
LABEL version="1.0"
LABEL description="Simple QR-Code-Generator-Server"
WORKDIR /app
COPY ./templates ./Flask-QR.py ./requirements.txt /app/
RUN pip install --upgrade pip
RUN pip install --trusted-host pypi.python.org -r requirements.txt
EXPOSE 80
CMD ["python", "Flask-QR.py"]