Browse Source

update 修改基础镜像 简化流程

dev
lucas 1 month ago
parent
commit
79f9678332
  1. 6
      build/Dockerfile_app

6
build/Dockerfile_app

@ -1,8 +1,4 @@
#FROM docker.io/library/alpine:3.20 FROM registry.ngaiot.com/base-images/alpine_3.20_cst:6
FROM registry.ngaiot.com/local/alpine_3.20_cst:5
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
WORKDIR /app/ WORKDIR /app/
RUN apk add --no-cache tzdata
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
COPY *.exe ./ COPY *.exe ./
CMD ["/app/app.exe"] CMD ["/app/app.exe"]

Loading…
Cancel
Save