diff options
| author | Michael McVady <michaelm@telnyx.com> | 2026-01-13 21:41:20 -0500 |
|---|---|---|
| committer | Michael McVady <michaelm@telnyx.com> | 2026-01-13 21:41:20 -0500 |
| commit | 342591f6d502e7f20f5fa76083b5f0ca3339b87b (patch) | |
| tree | b05d610d922979e393aeb3c21589807c694a457f /Dockerfile | |
| parent | 632f2bdd5ee18bb0d101d6ca775353f7b24e73a5 (diff) | |
WIPdocker
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -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"] |
