diff --git a/Dockerfile b/Dockerfile index b845dc6..cd6946f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,9 @@ RUN mkdir -p /build/static/public/static && yarn install --frozen-lockfile COPY frontend/ ./ COPY --from=email-builder /build/email-builder/dist ./public/static/email-builder ENV VUE_APP_VERSION=${APP_VERSION} -RUN yarn build +# Invoke vite directly: the package.json "prebuild" hook runs eslint with +# --ignore-path .gitignore, which isn't present in the build context. +RUN yarn vite build # ---- backend (Go) ---- FROM golang:1.26-alpine AS backend