mirror of
https://github.com/tebarius/Docker-Flask-QR.git
synced 2025-12-20 22:23:30 +01:00
Rework (#2)
* rework-versioning * add compose vor development * smaller fonts
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/venv/
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
@@ -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']
|
||||
|
||||
Binary file not shown.
6
docker-compose.yml
Normal file
6
docker-compose.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
services:
|
||||
qr-dev:
|
||||
build: ./
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8002:8002"
|
||||
Reference in New Issue
Block a user