feat: add full project - backend, frontend, docker, specs and configs

This commit is contained in:
MatheusAlves96 2026-04-20 23:59:45 -03:00
parent b77c7d5a01
commit e6cb06255b
24489 changed files with 61341 additions and 36 deletions

25
backend/Dockerfile Normal file
View file

@ -0,0 +1,25 @@
FROM python:3.12-slim
# Install system deps needed by psycopg2-binary
RUN apt-get update && apt-get install -y --no-install-recommends \
libpq-dev \
&& rm -rf /var/lib/apt/lists/*
# Install uv
RUN pip install --no-cache-dir uv
WORKDIR /app
# Install Python deps first (layer cache)
COPY pyproject.toml .
RUN uv sync --no-dev
# Copy application code
COPY . .
# Make entrypoint executable
RUN chmod +x entrypoint.sh
EXPOSE 5000
ENTRYPOINT ["./entrypoint.sh"]