commit 4ae8366fcd9f6ceb82353180dd9b56181e017483 parent 699ceab43081364bd7fedfe43ee02ea5933b86b6 Author: FIGBERT <figbert@figbert.com> Date: Sat, 18 May 2024 16:38:28 -0700 Add Dockerfile Diffstat:
A | Dockerfile | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/Dockerfile b/Dockerfile @@ -0,0 +1,9 @@ +FROM rust:slim AS builder +WORKDIR /src +COPY . . +RUN cargo build --release + +FROM debian:stable-slim +COPY --from=builder /src/target/release/css-system-colors /css +EXPOSE 3000 +ENTRYPOINT ["/css"]