Commit fafd56db authored by 簡碩辰's avatar 簡碩辰

Add new file

parent 25467d87
FROM raspbian/jessie
# 更新系統套件清單
RUN apt update
# 安裝 python3 套件
RUN apt install -y python3-dev python3-pip
# 更新 python3 套件
RUN pip3 install --upgrade pip
# 安裝 mqtt 套件
RUN pip3 install paho-mqtt requests
# 移除系統套件清單
RUN rm -r /var/lib/apt/lists/*
# 移動至使用者資料夾
WORKDIR ~
# 複製拋轉程式
COPY run.py run.py
# 執行拋轉程式
CMD python3 run.py
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment