dockerfile for server

This commit is contained in:
2026-09-25 22:58:23 +02:00
parent 8555cc1a76
commit cc8ed4bd4c
2 changed files with 28 additions and 21 deletions
+8
View File
@@ -0,0 +1,8 @@
FROM rust:alpine as builder
WORKDIR /usr/src/smalltalk
COPY . .
RUN cargo build -p server --release
FROM alpine:latest
COPY --from=builder /usr/src/smalltalk/target/release/server /usr/local/bin/smalltalk
CMD ["smalltalk"]