fix: CI
Switch Image
This commit is contained in:
parent
16eced643c
commit
32825ba9e1
1 changed files with 2 additions and 3 deletions
|
|
@ -17,10 +17,9 @@ COPY src/ src/
|
|||
RUN cargo build --release
|
||||
|
||||
# Stage 3: Final image
|
||||
FROM debian:bookworm-slim
|
||||
RUN apt-get update && apt-get install -y ca-certificates libssl3 postgresql-16 && rm -rf /var/lib/apt/lists/*
|
||||
FROM postgres:16
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates libssl3 && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENV PATH="/usr/lib/postgresql/16/bin:$PATH"
|
||||
ENV PGDATA=/var/lib/postgresql/data
|
||||
ENV DATABASE_URL=postgres://mercury:mercury@127.0.0.1/mercury
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue