mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-28 03:07:07 +02:00
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:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user