Files
tuya-cloudcutter/Dockerfile
sMiik 4cad43f876 Choose AP channel by the wifi device (#805)
Choose AP channel by the wifi device
Actually use fallback channel 1 as described by comment
2025-05-20 17:25:03 -05:00

18 lines
426 B
Docker

FROM python:3.9.18-slim-bullseye AS base
RUN apt-get -qq update && apt-get install -qy --no-install-recommends git hostapd rfkill dnsmasq build-essential libssl-dev iproute2 mosquitto iw
FROM base AS python-deps
RUN pip install --upgrade pipenv
COPY src/Pipfile /src/
COPY src/Pipfile.lock /src/
RUN cd /src && PIPENV_VENV_IN_PROJECT=1 pipenv install --deploy
FROM python-deps AS cloudcutter
COPY src /src
WORKDIR /src