feat: add Docker support and release-please workflow

This commit is contained in:
Dev Timofijo
2026-08-30 21:06:22 +00:00
parent 3a3290cfff
commit ae23d9eee8
3 changed files with 61 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
name: Release Please
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
packages: read
jobs:
release-please:
name: Release Please
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Release Please
uses: google/release-please-action@v4
with:
release-type: simple
token: ${{ secrets.GITHUB_TOKEN }}
tag-format: v${version}
product-name: instagram-sorteo
bump-minor-versions: true
bump-patch-versions: true
changelog-variables:
- header: Features
item-template: "* ${tag}"
- header: Bug Fixes
item-template: "* ${tag}"
- header: Other
item-template: "* ${tag}"
+13
View File
@@ -0,0 +1,13 @@
FROM python:3.14-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8080
CMD ["python3", "main.py"]
+10
View File
@@ -0,0 +1,10 @@
beautifulsoup4==4.15.0
certifi==2026.7.22
charset-normalizer==3.5.1
idna==3.19
lxml==6.1.2
python-dotenv==1.2.3
requests==2.34.2
soupsieve==2.9.2
typing-extensions==4.16.0
urllib3==2.7.0