Initial commit

This commit is contained in:
2026-02-01 17:51:28 +00:00
commit 9864802b76
10 changed files with 221 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,38 @@
{
"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"
}
}
}
}
},
"runArgs": [
"--privileged",
"-v",
"/dev:/dev"
],
"mounts": [
"source=${localEnv:XDG_RUNTIME_DIR}/ssh-agent.socket,target=/tmp/ssh-agent.socket,type=bind"
],
"remoteEnv": {
"SSH_AUTH_SOCK": "/tmp/ssh-agent.socket"
},
"remoteUser": "root",
"postCreateCommand": "poetry install"
}