fea: add Dockerfile
This commit is contained in:
parent
7dfb33a471
commit
b7255bf031
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
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"]
|
Loading…
x
Reference in New Issue
Block a user