fix: correct docker environment variable name and remove unnecessary runtime deps
Some checks failed
Lint and Build / Lint (push) Failing after 6s
Lint and Build / Build (push) Has been skipped
Lint and Build / Docker Build (push) Has been skipped

This commit is contained in:
goose 2026-02-28 16:55:36 -03:00
parent 3a6bcbd94d
commit be49d9d674
2 changed files with 1 additions and 7 deletions

View file

@ -17,7 +17,7 @@ services:
- SERVER_PORT=8000 - SERVER_PORT=8000
- SERVER_HOST=0.0.0.0 - SERVER_HOST=0.0.0.0
- MONGODB_URI=mongodb://mongodb:27017 - MONGODB_URI=mongodb://mongodb:27017
- MONGODB_DATABASE=normogen_dev - DATABASE_NAME=normogen_dev
- JWT_SECRET=dev-jwt-secret-key-minimum-32-chars - JWT_SECRET=dev-jwt-secret-key-minimum-32-chars
- RUST_LOG_STYLE=always - RUST_LOG_STYLE=always
depends_on: depends_on:

View file

@ -30,12 +30,6 @@ FROM rust:1.93-slim
WORKDIR /app WORKDIR /app
# Install runtime dependencies
RUN apt-get update && apt-get install -y \
pkg-config \
libssl-dev \
&& rm -rf /var/lib/apt/lists/*
# Copy the binary from builder # Copy the binary from builder
COPY --from=builder /app/target/debug/normogen-backend /app/normogen-backend COPY --from=builder /app/target/debug/normogen-backend /app/normogen-backend