We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bbfe3e commit 50f55b7Copy full SHA for 50f55b7
1 file changed
Dockerfile
@@ -9,6 +9,9 @@ WORKDIR /usr/src/qcext-server
9
# Run SQLX in offline mode
10
ENV SQLX_OFFLINE=true
11
12
+# Use spare registry protocol
13
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
14
+
15
# Build the dependencies in a separate step to avoid rebuilding all of them
16
# every time the source code changes. This takes advantage of Docker's layer
17
# caching, and it works by doing a build using the Cargo.{toml,lock} files with
0 commit comments