aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: ad1bfe05e8ba9d37cc05780044cb76291f8fd3bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM python:3.13-slim-trixie

LABEL maintainer="Michael McVady <femtonaut@gmail.com>"

WORKDIR /app

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 \
                build-essential \
                git

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"]