feat: define the default port for docker and add cargo.toml to docker

This commit is contained in:
Kilerd Chan 2018-10-09 23:52:06 +08:00
parent 802655a788
commit 1d38b63974
2 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ FROM clux/diesel-cli
COPY --from=builder /app/migrations /application/migrations
COPY --from=builder /app/Rocket.toml /application/Rocket.toml
COPY --from=builder /app/Cargo.toml /application/Cargo.toml
COPY --from=builder /app/entrypoint.sh /application/entrypoint.sh
COPY --from=builder /app/static /application/static
COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/rubble /application/rubble

View File

@ -4,4 +4,5 @@ template_dir = "static"
[production]
address = "0.0.0.0"
log = "critical"
port = 8000
limits = { forms = 32768 }