diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9f21b54 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/venv/ diff --git a/Dockerfile b/Dockerfile index b6109c4..a04a629 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM python:slim +FROM python:3.13-slim ARG TARGETPLATFORM ARG BUILDPLATFORM LABEL authors="tebarius" -LABEL version="1.4.0" +LABEL version="1.5.0" LABEL description="QR-Code-Generator-Server with Flask-App" WORKDIR /app @@ -17,6 +17,7 @@ RUN apt-get update && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* +RUN python -m pip install --upgrade pip RUN pip install --no-cache-dir --trusted-host pypi.python.org -r requirements.txt EXPOSE 8002 diff --git a/app/qr-static/my-new-style.css b/app/qr-static/color-style.css similarity index 92% rename from app/qr-static/my-new-style.css rename to app/qr-static/color-style.css index 3373b37..c26e9df 100644 --- a/app/qr-static/my-new-style.css +++ b/app/qr-static/color-style.css @@ -1,6 +1,6 @@ body { background-color: DeepSkyBlue; - background-image: linear-gradient(135deg,#ffc125,#00BFFF,#ffc125); + background-image: linear-gradient(135deg,#ffe125,#33BFFF,#ffe125); color: midnightblue; min-height: 100vh; } diff --git a/app/qr-static/style.css b/app/qr-static/style.css index 9b083f3..31dbd90 100644 --- a/app/qr-static/style.css +++ b/app/qr-static/style.css @@ -1,29 +1,32 @@ + body { + color: midnightblue; + } H1 { text-align: center; background-color: #eee; - border-radius: 60px; + border-radius: 40px; filter: drop-shadow(10px 10px 15px blue); - font-size: 60px; + font-size: 40px; } p { text-align: center; - font-size: 40px; + font-size: 30px; } div { text-align: center; - font-size: 40px; + font-size: 30px; } form { text-align: center; - font-size: 40px; + font-size: 30px; } - input { font-size: 40px; + input { font-size: 30px; } button { border: solid gainsboro; - font-size: 40px; + font-size: 30px; margin: 15px; - border-radius: 50px; + border-radius: 35px; filter: drop-shadow(10px 10px 10px blue); } input[type='radio'] diff --git a/app/requirements.txt b/app/requirements.txt index 40c42fb..11eb37d 100644 Binary files a/app/requirements.txt and b/app/requirements.txt differ diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..72399c2 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,6 @@ +services: + qr-dev: + build: ./ + restart: unless-stopped + ports: + - "8002:8002"