Box large futures
This commit is contained in:
@@ -37,7 +37,7 @@ COPY Cargo.lock .
|
||||
COPY crates/ crates/
|
||||
COPY resources/ resources/
|
||||
COPY tests/ tests/
|
||||
RUN cargo build -p stalwart --no-default-features --features "foundationdb elastic s3 redis azure nats enterprise" --release
|
||||
RUN cargo build -p stalwart --no-default-features --features "foundationdb s3 redis azure nats enterprise" --release
|
||||
|
||||
FROM debian:trixie-slim AS runtime
|
||||
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
#!/usr/bin/env sh
|
||||
# shellcheck shell=dash
|
||||
|
||||
# If the configuration file does not exist initialize it.
|
||||
if [ ! -f /opt/stalwart/etc/config.toml ]; then
|
||||
/usr/local/bin/stalwart --init /opt/stalwart
|
||||
fi
|
||||
|
||||
# If the configuration file exists, start the server.
|
||||
exec /usr/local/bin/stalwart --config /opt/stalwart/etc/config.toml
|
||||
exec /usr/local/bin/stalwart --config /opt/stalwart/etc/config.json
|
||||
|
||||
Reference in New Issue
Block a user