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 e2e734a commit 61dd7f9Copy full SHA for 61dd7f9
docker-compose.secure.yml
@@ -58,8 +58,8 @@ services:
58
59
envoy:
60
build:
61
- context: .
62
- dockerfile: envoy/Dockerfile
+ context: ./envoy
+ dockerfile: Dockerfile
63
ports:
64
- "8080:8080"
65
platform: linux/amd64
services/mfa/Dockerfile
@@ -7,12 +7,11 @@ RUN go mod download
7
COPY . .
8
RUN go build -o mfa ./cmd/mfa
9
10
-FROM alpine:latest
11
-RUN apk --no-cache add ca-certificates
12
-WORKDIR /root/
+FROM scratch
13
14
-COPY --from=builder /app/mfa .
+COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
+COPY --from=builder /app/mfa /mfa
15
16
EXPOSE 8445
17
18
-CMD ["./mfa"]
+ENTRYPOINT ["/mfa"]
0 commit comments