Server is now properly working
This commit is contained in:
parent
f90841ce8d
commit
8f5dd6b50e
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
CREATE DATABASE nederlandskie;
|
|
Loading…
Reference in New Issue