modifyudeskstate/Dockerfile

14 lines
299 B
Docker

FROM alpine:latest
ENV TZ=Asia/Shanghai
USER root
# 合并复制指令
COPY udeskstate /usr/local/bin/
COPY ./email.json /conf/
COPY ./wechatwebhook.json /conf/
# 设置执行权限
RUN chmod +x /usr/local/bin/udeskstate
# ENTRYPOINT 指令只有一条,已经是最优
ENTRYPOINT ["udeskstate"]