chore(docker): copy minify scripts into builder stage

Copy scripts/minify into the builder image so containerized builds can
run the minify step. Add the missing final newline to Dockerfile.

Add node_module to docker ignore
This commit is contained in:
yusing
2026-04-24 11:57:19 +08:00
parent 3e8298d1d4
commit c23d440fa0
2 changed files with 3 additions and 1 deletions

1
.dockerignore Normal file
View File

@@ -0,0 +1 @@
**/node_modules

View File

@@ -34,6 +34,7 @@ FROM deps AS builder
WORKDIR /src
COPY scripts/minify ./scripts/minify
COPY go.mod go.sum ./
COPY Makefile ./
COPY cmd ./cmd
@@ -76,4 +77,4 @@ ENV DOCKER_HOST=unix:///var/run/docker.sock
WORKDIR /app
CMD ["/app/run"]
CMD ["/app/run"]