aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMichael McVady <michaelm@telnyx.com>2026-01-13 21:41:20 -0500
committerMichael McVady <michaelm@telnyx.com>2026-01-13 21:41:20 -0500
commit342591f6d502e7f20f5fa76083b5f0ca3339b87b (patch)
treeb05d610d922979e393aeb3c21589807c694a457f /Dockerfile
parent632f2bdd5ee18bb0d101d6ca775353f7b24e73a5 (diff)
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile20
1 files changed, 11 insertions, 9 deletions
diff --git a/Dockerfile b/Dockerfile
index 02eaa29..ad1bfe0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM debian:bookworm-slim
+FROM python:3.13-slim-trixie
LABEL maintainer="Michael McVady <femtonaut@gmail.com>"
@@ -8,12 +8,14 @@ COPY app.py /app/app.py
COPY requirements.txt /app/requirements.txt
RUN set -e \
- && apt-get update -qq \
- && apt-get upgrade -y \
- && apt-get install -y \
- python3 \
- python3-pip \
- && pip install --no-cache-dir --break-system-packages -r requirements.txt \
- && rm -rf /var/lib/apt/lists/*
+ && apt-get update -qq \
+ && apt-get upgrade -y \
+ && apt-get install -y \
+ build-essential \
+ git
-ENTRYPOINT ["litestar", "run", "--host", "0.0.0.0", "--port", "8900"] \ No newline at end of file
+RUN set -e \
+ && pip install --no-cache-dir --break-system-packages -r requirements.txt \
+ && rm -rf /var/lib/apt/lists/*
+
+ENTRYPOINT ["litestar", "run", "--host", "0.0.0.0", "--port", "8900"]