Skip to content

Commit

Permalink
fix: 🐛 add certs to deployment for fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesOberreiter committed Feb 27, 2024
1 parent 245ba80 commit e7074a2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22 as build-stage
FROM golang:bookworm as build-stage

WORKDIR /app

Expand All @@ -18,7 +18,9 @@ RUN templ generate
# We need to build the binaries for duckdb CGO_ENABLED=1
RUN CGO_ENABLED=1 GOOS=linux go build -o /gbif-extinct

FROM debian:bookworm-slim as production-stage
FROM debian:bookworm as production-stage

RUN apt-get update && apt-get install ca-certificates -y && update-ca-certificates

WORKDIR /

Expand Down

0 comments on commit e7074a2

Please sign in to comment.