We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc5b9e4 commit ab8573cCopy full SHA for ab8573c
.dockerignore
@@ -0,0 +1,4 @@
1
+target/
2
+tests/
3
+tracing/
4
+.circleci/
Dockerfile
@@ -0,0 +1,10 @@
+FROM rust:1.58-slim-buster AS builder
+COPY . /app
+WORKDIR /app
+RUN cargo build --release
5
+
6
+FROM debian:buster-slim
7
+COPY --from=builder /app/target/release/pgcat /usr/bin/pgcat
8
+COPY --from=builder /app/pgcat.toml /etc/pgcat/pgcat.toml
9
+WORKDIR /etc/pgcat
10
+ENTRYPOINT ["/usr/bin/pgcat"]
0 commit comments