From d52af8f024dbc37f3932de4f4ba444f19cb97c41 Mon Sep 17 00:00:00 2001 From: John Stephani Date: Mon, 16 Mar 2026 16:25:34 -0500 Subject: [PATCH] first commit --- app/Dockerfile | 27 ++++++++++ app/app.py | 13 +++++ app/requirements.txt | 3 ++ app/static/css/style.css | 86 ++++++++++++++++++++++++++++++ app/templates/index.html | 111 +++++++++++++++++++++++++++++++++++++++ compose.yaml | 9 ++++ 6 files changed, 249 insertions(+) create mode 100755 app/Dockerfile create mode 100755 app/app.py create mode 100755 app/requirements.txt create mode 100644 app/static/css/style.css create mode 100755 app/templates/index.html create mode 100755 compose.yaml diff --git a/app/Dockerfile b/app/Dockerfile new file mode 100755 index 0000000..d0be3b5 --- /dev/null +++ b/app/Dockerfile @@ -0,0 +1,27 @@ +# syntax=docker/dockerfile:1.4 +FROM --platform=$BUILDPLATFORM python:3.10-alpine AS builder + +WORKDIR /app + +COPY requirements.txt /app +RUN --mount=type=cache,target=/root/.cache/pip \ + pip3 install -r requirements.txt + +COPY . /app + +ENTRYPOINT ["python3"] +CMD ["app.py"] + +FROM builder as dev-envs + +RUN < + + + + + + Connections, but better + + + + + +

Connections

+ +
+ +
+ + + +
+ +
+ + + + + diff --git a/compose.yaml b/compose.yaml new file mode 100755 index 0000000..0835f3e --- /dev/null +++ b/compose.yaml @@ -0,0 +1,9 @@ +services: + web: + build: + context: app + target: builder + restart: unless-stopped + stop_signal: SIGINT + ports: + - '8003:8000'