Implemented GET and PATCH handler

This commit is contained in:
Dennis Nemec
2025-10-06 00:27:27 +02:00
parent 98fb621108
commit 721fc171d0
7 changed files with 222 additions and 22 deletions

View File

@ -10,6 +10,11 @@ COPY Cargo.toml Cargo.lock ./
# Copy source code
COPY src ./src
# Install runtime dependencies (if needed, e.g., for SSL)
RUN apt-get update && \
apt-get install -y --no-install-recommends ca-certificates libssl-dev pkg-config && \
rm -rf /var/lib/apt/lists/*
# Build for release
RUN cargo build --release
@ -18,7 +23,7 @@ FROM debian:bookworm-slim
# Install runtime dependencies (if needed, e.g., for SSL)
RUN apt-get update && \
apt-get install -y --no-install-recommends ca-certificates && \
apt-get install -y --no-install-recommends ca-certificates libssl-dev && \
rm -rf /var/lib/apt/lists/*
# Create non-root user