E5SubBotForSQLite/drone/Dockerfile
rainerosion 6d2e9ed8b8
All checks were successful
continuous-integration/drone/push Build is passing
更新 'drone/Dockerfile'
2021-07-31 00:27:12 +08:00

8 lines
337 B
Docker

FROM alpine:latest
ARG E5SubBotFile
ENV TIME_ZONE=Asia/Shanghai
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && apk update && apk add tzdata \
&& ln -snf /usr/share/zoneinfo/$TIME_ZONE /etc/localtime && echo $TIME_ZONE > /etc/timezone
WORKDIR /root
ADD ${E5SubBotFile} /root/
CMD [ "/root/main" ]