123456789101112131415161718192021 |
- FROM alpine
- RUN echo -e https://mirrors.ustc.edu.cn/alpine/v3.15/main > /etc/apk/repositories \
- && cat /etc/apk/repositories \
- && apk add tzdata && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
- && echo "Asia/Shanghai" > /etc/timezone \
- && apk del tzdata \
- && mkdir /lib64 \
- && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
- WORKDIR /
- ADD web web
- ADD casdoor casdoor
- EXPOSE 8000
- ENTRYPOINT ["./casdoor"]
|