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 TARGETPLATFORM
|
||||||
ARG BUILDPLATFORM
|
ARG BUILDPLATFORM
|
||||||
|
|
||||||
LABEL authors="tebarius"
|
LABEL authors="tebarius"
|
||||||
LABEL version="1.4.0"
|
LABEL version="1.5.0"
|
||||||
LABEL description="QR-Code-Generator-Server with Flask-App"
|
LABEL description="QR-Code-Generator-Server with Flask-App"
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
@@ -17,6 +17,7 @@ RUN apt-get update && \
|
|||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
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
|
RUN pip install --no-cache-dir --trusted-host pypi.python.org -r requirements.txt
|
||||||
|
|
||||||
EXPOSE 8002
|
EXPOSE 8002
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
body {
|
body {
|
||||||
background-color: DeepSkyBlue;
|
background-color: DeepSkyBlue;
|
||||||
background-image: linear-gradient(135deg,#ffc125,#00BFFF,#ffc125);
|
background-image: linear-gradient(135deg,#ffe125,#33BFFF,#ffe125);
|
||||||
color: midnightblue;
|
color: midnightblue;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
@@ -1,29 +1,32 @@
|
|||||||
|
body {
|
||||||
|
color: midnightblue;
|
||||||
|
}
|
||||||
H1 {
|
H1 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #eee;
|
background-color: #eee;
|
||||||
border-radius: 60px;
|
border-radius: 40px;
|
||||||
filter: drop-shadow(10px 10px 15px blue);
|
filter: drop-shadow(10px 10px 15px blue);
|
||||||
font-size: 60px;
|
font-size: 40px;
|
||||||
}
|
}
|
||||||
p {
|
p {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 40px;
|
font-size: 30px;
|
||||||
}
|
}
|
||||||
div {
|
div {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 40px;
|
font-size: 30px;
|
||||||
}
|
}
|
||||||
form {
|
form {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 40px;
|
font-size: 30px;
|
||||||
}
|
}
|
||||||
input { font-size: 40px;
|
input { font-size: 30px;
|
||||||
}
|
}
|
||||||
button {
|
button {
|
||||||
border: solid gainsboro;
|
border: solid gainsboro;
|
||||||
font-size: 40px;
|
font-size: 30px;
|
||||||
margin: 15px;
|
margin: 15px;
|
||||||
border-radius: 50px;
|
border-radius: 35px;
|
||||||
filter: drop-shadow(10px 10px 10px blue);
|
filter: drop-shadow(10px 10px 10px blue);
|
||||||
}
|
}
|
||||||
input[type='radio']
|
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