nginx and other stuff

This commit is contained in:
2024-06-27 20:50:58 +02:00
commit 3c831d5985
19 changed files with 1886 additions and 0 deletions

9
backend/Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM rust:1.73 as builder
WORKDIR /usr/src/app
COPY . .
RUN cargo build --release
FROM alpine:latest
RUN apk add --no-cache libgcc libstdc++
COPY --from=builder /usr/src/app/target/release/qr-generator /usr/local/bin/qr-generator
CMD ["qr-generator"]