diff --git a/Dockerfile b/Dockerfile index 1591ddc..f479e7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.16 as builder +FROM alpine:3.20 as builder RUN apk update --no-cache; \ apk add --no-cache cmake make gcc musl-dev; @@ -10,11 +10,11 @@ RUN cmake -B build; \ cd build; \ make -j2 -FROM alpine:3.16 as app +FROM alpine:3.20 as app RUN apk update --no-cache; \ apk add --no-cache musl; COPY --from=builder /usr/src/violet/build/violet /usr/local/bin/ -CMD [ "/usr/local/bin/violet" ] +ENTRYPOINT [ "/usr/local/bin/violet" ]