Welp guess I need CA certs

This commit is contained in:
Atridad Lahiji 2024-10-21 22:12:57 -06:00
parent 18aa6846e9
commit e76a886d5b
Signed by: atridad
SSH key fingerprint: SHA256:LGomp8Opq0jz+7kbwNcdfTcuaLRb5Nh0k5AchDDb438
2 changed files with 6 additions and 5 deletions

View file

@ -10,8 +10,11 @@ COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o /go/bin/app
FROM scratch
FROM gcr.io/distroless/static-debian11
COPY --from=alpine:latest /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=build /go/bin/app /app
# Set the entrypoint
ENTRYPOINT ["/app"]

View file

@ -8,12 +8,10 @@ primary_region = 'ord'
[build]
[http_service]
[[services]]
internal_port = 3000
auto_stop_machines = 'suspend'
auto_start_machines = true
protocol = "tcp"
min_machines_running = 1
processes = ['app']
[[vm]]
size = 'shared-cpu-1x'