Browse Source

fix,build(auth): mount migrations directory

Bryan Lee 1 year ago
parent
commit
1f23aa8e74
1 changed files with 1 additions and 0 deletions
  1. 1 0
      authentication/Dockerfile

+ 1 - 0
authentication/Dockerfile

@@ -21,6 +21,7 @@ RUN apt-get update && apt-get -qq -y install \
 # source code into the container. Once built, copy the executable to an
 # output directory before the cache mounted /app/target is unmounted.
 RUN --mount=type=bind,source=src,target=src \
+    --mount=type=bind,source=migrations,target=migrations \
     --mount=type=bind,source=Cargo.toml,target=Cargo.toml \
     --mount=type=bind,source=Cargo.lock,target=Cargo.lock \
     --mount=type=cache,target=/app/target/ \