There was an error while loading. Please reload this page.
1 parent ec79304 commit 6f94dddCopy full SHA for 6f94ddd
1 file changed
Dockerfile
@@ -14,6 +14,9 @@ RUN apk add --no-cache gcc musl-dev linux-headers
14
15
WORKDIR /backend-build
16
17
+COPY go.* ./
18
+RUN go mod download
19
+
20
COPY . .
21
COPY --from=frontend /frontend-build/public ./web/public
22
@@ -22,10 +25,9 @@ RUN go build -o eth-faucet -ldflags "-w -s"
25
FROM alpine
23
26
24
27
RUN apk add --no-cache ca-certificates
-WORKDIR /app
28
-COPY --from=backend /backend-build/eth-faucet .
29
+COPY --from=backend /backend-build/eth-faucet /app/eth-faucet
30
31
EXPOSE 8080
32
-ENTRYPOINT ["./eth-faucet"]
33
+ENTRYPOINT ["/app/eth-faucet"]
0 commit comments