initial commit

This commit is contained in:
2024-05-04 10:41:58 +02:00
parent fc26a9921a
commit cf23beb84e
9 changed files with 3419 additions and 0 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
# Build stage
FROM rust:alpine AS build
WORKDIR /app
COPY . .
RUN apk update && apk add --no-cache musl-dev
RUN cargo build --release
# Deploy stage
FROM alpine
WORKDIR /app
COPY --from=build /app/target/release/webserver .
CMD ["./webserver"]