Add initial project structure with Docker, CI/CD, and Poetry configuration

This commit is contained in:
2026-02-01 17:23:03 +01:00
commit e66777e0d1
10 changed files with 163 additions and 0 deletions

5
.devcontainer/DockerFile Normal file
View File

@@ -0,0 +1,5 @@
FROM python:3.14-slim
# Instalar git y herramientas básicas
RUN apt-get update && apt-get install -y git curl && rm -rf /var/lib/apt/lists/*
# Instalar Poetry
RUN pip install poetry

View File

@@ -0,0 +1,24 @@
{
"name": "Python Poetry Dev",
"build": { "dockerfile": "Dockerfile" },
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"charliermarsh.ruff",
"tamasfe.even-better-toml"
],
"settings": {
"python.defaultInterpreterPath": "/usr/local/bin/python",
"editor.formatOnSave": true,
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
}
}
}
}
},
"postCreateCommand": "poetry install"
}