go语言写的人脸本地化程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

15 regels
332 B

  1. FROM golang:latest
  2. WORKDIR /app
  3. COPY . .
  4. RUN #go env -w GO111MODULE=off
  5. RUN apt-get update && apt-get install -y tzdata
  6. ENV TZ=Asia/Shanghai
  7. RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
  8. RUN go env -w GOPROXY=https://goproxy.cn,direct
  9. RUN go build -o staff-sync
  10. EXPOSE 18080
  11. CMD ["./staff-sync"]