diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000..ed20724 --- /dev/null +++ b/.github/workflows/release-please.yml @@ -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}" \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5ba6ae5 --- /dev/null +++ b/Dockerfile @@ -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"] \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..100ed3d --- /dev/null +++ b/requirements.txt @@ -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 \ No newline at end of file