1
0
mirror of https://github.com/raseels-repos/golang-saas-starter-kit.git synced 2025-12-19 23:52:43 +02:00

issue #28 - fixed dockerfile reference to correct binary

This commit is contained in:
Lee Brown
2020-01-18 15:48:50 -09:00
parent 3a91a060c1
commit ab809562f8
3 changed files with 7 additions and 7 deletions

View File

@@ -87,7 +87,7 @@ FROM dev AS builder
# Disabled for the moment as it takes forever to run, rely on manual execution.
RUN if [ "$swagInit" != "" ]; then swag init ; fi
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags "-X main.build=${commit_ref}" -a -installsuffix nocgo -o /gosrv .
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags "-X main.build=${commit_ref}" -a -installsuffix nocgo -o /build/gosrv .
FROM alpine:3.11