From 96cfde7228f12ca3d286190e5a344f26f5e1fd70 Mon Sep 17 00:00:00 2001 From: Valentin Kuznetsov Date: Mon, 12 Feb 2024 09:41:03 -0500 Subject: [PATCH] Switch to alpine for development --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 13606eb..06037ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,9 +11,9 @@ ARG CGO_ENABLED=0 RUN cd $PROJECT && make && cp srv /build # build final image for given image -# FROM alpine as final -# RUN mkdir -p /data -FROM gcr.io/distroless/static as final +FROM alpine as final +# FROM gcr.io/distroless/static as final +RUN mkdir -p /data COPY --from=go-builder /build/srv /data LABEL org.opencontainers.image.description="FOXDEN MLHub service" LABEL org.opencontainers.image.source=https://github.com/chesscomputing/mlhub