Skip to content

Commit 158d02b

Browse files
committedDec 4, 2020
Settings are placed in /config in docker image
1 parent 97b60f4 commit 158d02b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

Diff for: ‎Dockerfile

+5-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ COPY . .
77
RUN CGO_ENABLED=0 GOOS=linux go build
88

99
FROM scratch
10-
COPY --from=build-env /tmp/simple-go-app/simple-web-app /app/simple-web-app
10+
COPY --from=build-env /tmp/simple-go-app/helm-promotion-sample-app /app/helm-promotion-sample-app
11+
12+
COPY settings.ini /config/settings.ini
13+
1114

1215
EXPOSE 8080
13-
CMD ["/app/simple-web-app"]
16+
CMD ["/app/helm-promotion-sample-app"]

0 commit comments

Comments
 (0)
Please sign in to comment.