init commit

This commit is contained in:
joestar817
2024-05-19 22:38:21 +08:00
commit d2b20168c4
10 changed files with 236 additions and 0 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
FROM ubuntu:22.04
LABEL maintainer="joestar817@foxmail.com"
RUN apt update && apt install -y \
ipmitool \
python3 \
python3-pip && \
rm -rf /var/lib/apt/lists/*
COPY . /dell-fans-controller-docker
WORKDIR /dell-fans-controller-docker
ENV TZ=Asia/Shanghai
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone
CMD ["python3","start.py"]