We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dcb8e9 commit 3a46d21Copy full SHA for 3a46d21
Dockerfile
@@ -9,15 +9,18 @@ LABEL repository="https://github.com/kitabisa/teler-proxy"
9
LABEL maintainer="dwisiswant0"
10
11
WORKDIR /app
12
-COPY ["go.mod", "${PGO_FILE}", "."]
+COPY ["go.mod", "${PGO_FILE}", "./"]
13
RUN go mod download
14
15
RUN apk add build-base
16
17
COPY . .
18
-RUN CGO_ENABLED="1" go build \
19
- -pgo "${PGO_FILE}" -ldflags "${LDFLAGS}" \
20
- -o ./bin/teler-proxy ./cmd/teler-proxy
+ENV CGO_ENABLED=1
+RUN go build \
+ -pgo "${PGO_FILE}" \
21
+ -ldflags "${LDFLAGS}" \
22
+ -o ./bin/teler-proxy \
23
+ ./cmd/teler-proxy
24
25
FROM alpine:latest
26
0 commit comments