1.1 224 changes

This commit is contained in:
buenosairesam
2025-12-29 14:58:20 -03:00
parent c5546cf7fc
commit 9e9e0a5a25
6 changed files with 142 additions and 68 deletions

20
soleprint/Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM python:3.11-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
gcc \
libpq-dev \
&& rm -rf /var/lib/apt/lists/*
# Install Python dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application
COPY . .
EXPOSE 8000
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]