modifyudeskstate/Dockerfile

13 lines
259 B
Docker
Raw Normal View History

2024-07-21 02:13:35 +08:00
FROM alpine:latest
ENV TZ=Asia/Shanghai
USER root
# 合并复制指令
COPY udeskstate /usr/local/bin/ \
./*.json /conf/
# 设置执行权限
RUN chmod +x /usr/local/bin/udeskstate
# ENTRYPOINT 指令只有一条,已经是最优
ENTRYPOINT ["udeskstate"]