every.channel: sanitized baseline
This commit is contained in:
commit
897e556bea
258 changed files with 74298 additions and 0 deletions
18
deploy/cloudflare-worker/containers/ec-api/Dockerfile
Normal file
18
deploy/cloudflare-worker/containers/ec-api/Dockerfile
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Cloudflare Containers build: compile a small, portable Rust HTTP server.
|
||||
# This container only serves the bootstrap /api/* endpoints used for WebRTC rendezvous.
|
||||
|
||||
FROM rust:1.86-bookworm AS build
|
||||
WORKDIR /app
|
||||
|
||||
# Pre-copy manifest to prime dependency caching.
|
||||
COPY Cargo.toml /app/Cargo.toml
|
||||
COPY src /app/src
|
||||
|
||||
RUN cargo build --release
|
||||
|
||||
FROM debian:bookworm-slim
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/target/release/ec-cf-bootstrap-api /app/ec-cf-bootstrap-api
|
||||
ENV RUST_LOG=info
|
||||
EXPOSE 8080
|
||||
CMD ["/app/ec-cf-bootstrap-api"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue