slaventius 2 years ago
parent 9038502295
commit e436538b93
  1. 2
      build/Dockerfile

@ -11,7 +11,7 @@ ARG project_name="test3k_auth_postman"
RUN apk add git
ENV GOPRIVATE=git.slaventius.ru/*
ENV GOINSECURE=git.slaventius.ru
WORKDIR /go/${project_dir}
WORKDIR /go${project_dir}
COPY --from=downloader /tmp${project_dir} .
RUN go build -ldflags="-s -w" -o ./${project_name} ./cmd/main.go
#

Loading…
Cancel
Save