This commit is contained in:
2023-07-22 21:16:38 +07:00
parent 230d7bca78
commit 9cc2aabc38
28 changed files with 2513 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
ARG BUILD_FROM
FROM ${BUILD_FROM}
# Update Packages
RUN apt-get update -y && apt upgrade -y
# Setup base
RUN apt-get install -y \
coreutils \
wget \
curl \
python3 \
python3-dev \
python3-pip
# Install python modules
RUN pip3 install Flask requests paho-mqtt pytz psutil
# Copy root filesystem
COPY rootfs /