From 8518eacd08e58c90f32024086261b8f062d24e2e Mon Sep 17 00:00:00 2001 From: Matthew Hagemann Date: Wed, 9 Oct 2024 08:50:13 +0200 Subject: [PATCH] feat: dockerfile includes mounting sql migrations --- docker/ratings/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/ratings/Dockerfile b/docker/ratings/Dockerfile index 0b2c9bf4..de6f6a3c 100644 --- a/docker/ratings/Dockerfile +++ b/docker/ratings/Dockerfile @@ -4,6 +4,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get upgrade -y && rm -r WORKDIR /app COPY target/release/ratings /app/ratings +COPY sql/migrations /app/sql/migrations EXPOSE 8080 ENTRYPOINT ["/app/ratings"]