diff --git a/container/Containerfile b/container/Containerfile index d399b33..c064cb8 100644 --- a/container/Containerfile +++ b/container/Containerfile @@ -17,6 +17,9 @@ WORKDIR /build # COPY --from=client /build/dist /runner/public COPY --from=client /build/dist /build/static +# Get the dependencies +RUN go mod download + # RUN go build -o server RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -o server