modifyudeskstate/Dockerfile

16 lines
327 B
Docker
Raw Normal View History

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