Implemented GET and PATCH handler
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user