First commit

This commit is contained in:
unknown
2026-06-09 21:18:13 -03:00
commit 5bff6b938b
66 changed files with 10922 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
# Dockerfile.dev
FROM python:3.11-slim
WORKDIR /frontend
# Instalar dependencias del sistema para desarrollo
RUN apt-get update && apt-get install -y \
curl \
git \
vim \
&& rm -rf /var/lib/apt/lists/*
# Copiar requirements
COPY requirements_frontend.txt ./requirements.txt
# Instalar dependencias de desarrollo también
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r requirements.txt && \
pip install --no-cache-dir black pylint pytest
# Usuario no-root
RUN useradd -m -u 1000 devuser && \
chown -R devuser:devuser /frontend
USER devuser
EXPOSE 8501
# Streamlit se ejecutará con hot-reload automático
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]