浏览代码

fix,build(auth): mount migrations directory

Bryan Lee 1 年之前
父节点
当前提交
1f23aa8e74
共有 1 个文件被更改,包括 1 次插入0 次删除
  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/ \