Dockerizando py-grex

Archivos para ejecutar la aplicación a tráves de Docker.
This commit is contained in:
2026-06-05 12:07:29 +02:00
parent 46a9ecf065
commit cb08145f08
3 changed files with 30 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
__pycache__
*.pyc
.git
.gitignore
.pytest_cache
.ruff_cache
.venv
venv
notebooks
+9
View File
@@ -0,0 +1,9 @@
services:
pygrex:
build:
context: .
dockerfile: Dockerfile
container_name: pygrex
restart: unless-stopped
ports:
- "8501:8501"
+12
View File
@@ -0,0 +1,12 @@
FROM python:3.11
WORKDIR /app
COPY . .
RUN pip install --upgrade pip
RUN pip install .
EXPOSE 8501
CMD ["streamlit", "run", "Home.py", "--server.address=0.0.0.0", "--server.port=8501"]