mirror of
https://github.com/tebarius/Docker-Flask-QR.git
synced 2025-12-20 22:23:30 +01:00
Initial commit
This commit is contained in:
16
Dockerfile-RasPi
Normal file
16
Dockerfile-RasPi
Normal file
@@ -0,0 +1,16 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user