12 lines
171 B
Docker
12 lines
171 B
Docker
|
FROM python:3.11
|
||
|
WORKDIR /code
|
||
|
|
||
|
ENTRYPOINT ["python3", "mqtt.py"]
|
||
|
|
||
|
RUN pip3 install --upgrade pip
|
||
|
|
||
|
COPY requirements.txt .
|
||
|
RUN pip install -r requirements.txt
|
||
|
|
||
|
COPY src .
|