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