upd
This commit is contained in:
7
Dockerfile
Normal file
7
Dockerfile
Normal file
@ -0,0 +1,7 @@
|
||||
FROM thevlang/vlang:latest AS builder
|
||||
COPY . .
|
||||
RUN v -prod -cc gcc -cflags -static -cflags -s -d habraview_version=$(git describe --tags) . -o /habraview
|
||||
|
||||
FROM scratch AS prod
|
||||
COPY --from=builder /habraview .
|
||||
ENTRYPOINT ["/habraview"]
|
Reference in New Issue
Block a user