aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-06-01 20:51:29 +0300
committerJan Tuomi <jan@jantuomi.fi>2025-06-01 20:54:35 +0300
commit1144b33e33bbf3a05e4e75df8a677c8aa82a3137 (patch)
tree96bf5082386ccf92ecce51b1d19b6188074aee5d /Dockerfile
parent73378c104a0774c213e2ede7c557b14c40f8a12d (diff)
Add stuff
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..0a27cb9
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,10 @@
+FROM alpine
+RUN apk add --no-cache python3 uv
+
+WORKDIR /app
+COPY static /app/static
+COPY templates /app/templates
+COPY app.py pyproject.toml .python-version uv.lock /app/
+RUN uv sync
+
+CMD ["uv", "run", "gunicorn", "--bind", "0.0.0.0:8000", "app:app", "-w", "1"]