Dockerfile 561 B

12345678910111213141516171819
  1. FROM registry.cn-chengdu.aliyuncs.com/infish/alpine
  2. # https://github.com/Docker-Hub-frolvlad/docker-alpine-glibc
  3. RUN echo -e https://mirrors.ustc.edu.cn/alpine/v3.15/main > /etc/apk/repositories \
  4. && cat /etc/apk/repositories \
  5. # 设置时区为上海
  6. && apk add tzdata && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
  7. && echo "Asia/Shanghai" > /etc/timezone \
  8. && apk del tzdata \
  9. && mkdir -p /root/sku3d
  10. WORKDIR /root/sku3d
  11. ADD ./app.yaml ./app.yaml
  12. ADD ./sku3dweb-service ./sku3dweb-service
  13. EXPOSE 7902
  14. ENTRYPOINT ["./sku3dweb-service"]