From 3f9be3294f254a96d91532001ac12861a66f9f53 Mon Sep 17 00:00:00 2001 From: Michael McVady Date: Mon, 22 Sep 2025 22:26:30 -0500 Subject: Continue dockerizing --- Dockerfile | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index eda5285..02eaa29 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM debian:bullseye-slim +FROM debian:bookworm-slim LABEL maintainer="Michael McVady " WORKDIR /app COPY app.py /app/app.py -# COPY requirements.txt /app/requirements.txt +COPY requirements.txt /app/requirements.txt RUN set -e \ && apt-get update -qq \ @@ -13,16 +13,7 @@ RUN set -e \ && apt-get install -y \ python3 \ python3-pip \ - git \ + && pip install --no-cache-dir --break-system-packages -r requirements.txt \ && rm -rf /var/lib/apt/lists/* -RUN set -e \ - && pip install litestar[standard]==2.15.1 \ - && cd /tmp \ - && git clone https://github.com/mclarkk/lifxlan.git \ - && cd /tmp/lifxlan \ - && python3 setup.py install \ - && cd \ - && rm -rf /tmp/lifxlan - ENTRYPOINT ["litestar", "run", "--host", "0.0.0.0", "--port", "8900"] \ No newline at end of file -- cgit v1.2.3