mirror of
https://github.com/blacksky-algorithms/rsky.git
synced 2025-03-14 13:59:02 +00:00
13 lines
367 B
Docker
13 lines
367 B
Docker
# Use the official Rust image.
|
|
# https://hub.docker.com/_/rust
|
|
FROM --platform=linux/amd64 rust
|
|
|
|
# Copy local code to the container image.
|
|
WORKDIR /usr/src/rsky
|
|
COPY . .
|
|
|
|
# Install production dependencies and build a release artifact.
|
|
RUN cargo build --release --package rsky-firehose
|
|
|
|
# Run the web service on container startup.
|
|
CMD cargo run --package rsky-firehose |