FROM debian:bullseye-slim LABEL maintainer="Michael McVady " 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 \ python3 \ python3-pip \ git \ && 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"]