weapp/Dockerfile

12 lines
218 B
Docker
Raw Permalink Normal View History

2021-12-25 02:30:17 +08:00
FROM alpine:3.14 as builder
RUN apk --no-cache add ca-certificates
FROM scratch as production
ENV TZ="Asia/Shanghai"
COPY ./app /
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
CMD ["/app"]