소스 검색

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/ \