This commit is contained in:
1 parent
61f1284bd2
commit
f44af70787
1 file changed
+6
-2
+6
-2
@@ -4,8 +4,12 @@ WORKDIR /app
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN go mod tidy && go build
|
RUN apk update && \
|
||||||
|
apk upgrade && \
|
||||||
|
apk add binutils && \
|
||||||
|
go mod tidy && \
|
||||||
|
go build && \
|
||||||
|
strip auth_service
|
||||||
FROM alpine:latest AS build-release-stage
|
FROM alpine:latest AS build-release-stage
|
||||||
|
|
||||||
WORKDIR /data
|
WORKDIR /data
|
||||||
|
|||||||
Reference in new issue
Block a user