Add initial project structure with Docker, CI/CD, and Poetry configuration
This commit is contained in:
5
.devcontainer/DockerFile
Normal file
5
.devcontainer/DockerFile
Normal 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
|
||||
24
.devcontainer/devcontainer.json
Normal file
24
.devcontainer/devcontainer.json
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user