Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
levkk authored Jul 26, 2022
1 parent eff8e3e commit c5be556
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM rust:1.58-slim-buster AS builder
FROM rust:1 AS builder
COPY . /app
WORKDIR /app
RUN cargo build --release

FROM debian:buster-slim
FROM debian:bullseye-slim
COPY --from=builder /app/target/release/pgcat /usr/bin/pgcat
COPY --from=builder /app/pgcat.toml /etc/pgcat/pgcat.toml
WORKDIR /etc/pgcat
Expand Down

0 comments on commit c5be556

Please sign in to comment.