diff --git a/dkr/app.dockerfile b/dkr/app.dockerfile index 4517b0a..60efe86 100644 --- a/dkr/app.dockerfile +++ b/dkr/app.dockerfile @@ -15,6 +15,9 @@ RUN mkdir -p /app && mv target/release/nederlandskie /app/ # FROM mcr.microsoft.com/cbl-mariner/distroless/base:2.0 FROM debian:bullseye-slim +RUN apt-get update && apt-get install -y ca-certificates +RUN update-ca-certificates + COPY --from=builder /app /app WORKDIR /app diff --git a/docker-compose.yaml b/docker-compose.yaml index 0124369..4ed57b9 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -6,6 +6,7 @@ services: environment: - POSTGRES_USER=postgres - POSTGRES_PASSWORD=postgres + - POSTGRES_DB=nederlandskie ports: - '5432:5432' networks: diff --git a/sql/00_create_database.sql b/sql/00_create_database.sql deleted file mode 100644 index a032f37..0000000 --- a/sql/00_create_database.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE DATABASE nederlandskie; \ No newline at end of file