We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16d82e5 commit 59484a4Copy full SHA for 59484a4
.dockerignore
@@ -4,5 +4,5 @@ ignore
4
Dockerfile
5
tags
6
data
7
-node_modules
+web/node_modules
8
sage
Dockerfile
@@ -13,6 +13,7 @@ WORKDIR /src
13
COPY go.mod go.sum ./
14
RUN go mod download
15
COPY . .
16
+ARG VERSION
17
RUN make build
18
19
FROM scratch
Makefile
@@ -43,7 +43,10 @@ build: static
43
44
.PHONY: docker
45
docker:
46
- docker build -t johnstarich/sage:${VERSION} .
+ docker build \
47
+ --build-arg VERSION=${VERSION} \
48
+ -t johnstarich/sage:${VERSION} \
49
+ .
50
51
.PHONY: clean
52
clean: out
0 commit comments