From cc63b84a5544b1a1cb415c8458ebe99ecc2fd2fe Mon Sep 17 00:00:00 2001 From: Fijxu Date: Tue, 29 Oct 2024 19:42:29 -0300 Subject: [PATCH] fixup! Add version key to /stats and more arguments --- .dockerignore | 1 - Dockerfile | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index 692f946..8cb8cb0 100644 --- a/.dockerignore +++ b/.dockerignore @@ -3,7 +3,6 @@ .dockerignore Dockerfile LICENSE -.git .github .gitignore cache diff --git a/Dockerfile b/Dockerfile index 6f2a7af..ca3cd4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,9 @@ FROM golang:alpine AS build WORKDIR /app/ -RUN apk add --no-cache build-base libwebp-dev +RUN apk add --no-cache build-base libwebp-dev git +COPY .git .git COPY . . RUN --mount=type=cache,target=/root/.cache/go-build \