Server is now properly working

This commit is contained in:
Justin Moore 2024-10-18 14:24:45 -05:00
parent f90841ce8d
commit 8f5dd6b50e
3 changed files with 4 additions and 1 deletions

View File

@ -15,6 +15,9 @@ RUN mkdir -p /app && mv target/release/nederlandskie /app/
# FROM mcr.microsoft.com/cbl-mariner/distroless/base:2.0 # FROM mcr.microsoft.com/cbl-mariner/distroless/base:2.0
FROM debian:bullseye-slim FROM debian:bullseye-slim
RUN apt-get update && apt-get install -y ca-certificates
RUN update-ca-certificates
COPY --from=builder /app /app COPY --from=builder /app /app
WORKDIR /app WORKDIR /app

View File

@ -6,6 +6,7 @@ services:
environment: environment:
- POSTGRES_USER=postgres - POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres - POSTGRES_PASSWORD=postgres
- POSTGRES_DB=nederlandskie
ports: ports:
- '5432:5432' - '5432:5432'
networks: networks:

View File

@ -1 +0,0 @@
CREATE DATABASE nederlandskie;