Cache Cargo dependencies for Docker build.

This commit is contained in:
Paul
2021-05-03 09:59:40 +01:00
parent 2e996a487b
commit b47067b311
3 changed files with 5 additions and 1 deletions

View File

@@ -2,6 +2,6 @@
# Tip: for subsequent builds, don't update Cargo.toml
# in order to not download all the crates again.
# Update Cargo.toml on major release.
version=0.4.1-alpha.4
version=0.4.1-alpha.4-patch.0
docker build -t revoltchat/server:${version} . &&
docker push revoltchat/server:${version}