12345678910111213141516171819 |
- FROM registry.cn-chengdu.aliyuncs.com/infish/alpine
- # https://github.com/Docker-Hub-frolvlad/docker-alpine-glibc
- 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 -p /root/sku3d
- WORKDIR /root/sku3d
- ADD ./app.yaml ./app.yaml
- ADD ./sku3dweb-service ./sku3dweb-service
- EXPOSE 7902
- ENTRYPOINT ["./sku3dweb-service"]
|