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 7c0b122 commit 45ffa78Copy full SHA for 45ffa78
compose/tracer-sidecar/Dockerfile
@@ -1,4 +1,4 @@
1
-FROM haskell:9.6
+FROM haskell:9.6 AS build
2
3
WORKDIR /opt/tracer-sidecar
4
@@ -16,4 +16,8 @@ RUN cabal build --only-dependencies -j4
16
COPY . /opt/tracer-sidecar
17
RUN cabal install
18
19
-CMD ["tracer-sidecar", "/opt/cardano-tracer"]
+FROM docker.io/debian:stable-slim AS main
20
+
21
+COPY --from=build /root/.local/bin/tracer-sidecar /usr/local/bin/tracer-sidecar
22
23
+CMD ["/usr/local/tracer-sidecar", "/opt/cardano-tracer"]
0 commit comments