mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-06 03:06:04 +00:00
14 lines
339 B
Docker
14 lines
339 B
Docker
# Build Stage
|
|
FROM revolt.chat/base:latest AS builder
|
|
RUN cargo install --locked --path crates/delta
|
|
|
|
# Bundle Stage
|
|
FROM debian:buster-slim
|
|
RUN apt-get update && apt-get install -y ca-certificates
|
|
COPY --from=builder /usr/local/cargo/bin/revolt-delta ./
|
|
|
|
EXPOSE 8000
|
|
ENV ROCKET_ADDRESS 0.0.0.0
|
|
ENV ROCKET_PORT 8000
|
|
CMD ["./revolt-delta"]
|