mirror of
https://github.com/StefBuwalda/cal_counter.git
synced 2025-10-30 19:29:59 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
072dd2c651 | ||
| 8acb8453ea | |||
|
|
fb160d364a | ||
| fdf264b9c5 | |||
| 91595ccc11 | |||
| 6c01c6a923 |
13
.github/workflows/docker-ghcr.yml
vendored
13
.github/workflows/docker-ghcr.yml
vendored
@@ -14,9 +14,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
# Checkout code
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4.2.2
|
uses: actions/checkout@v4.2.2
|
||||||
|
|
||||||
|
# Log in to GHCR
|
||||||
- name: Log in to GitHub Container Registry
|
- name: Log in to GitHub Container Registry
|
||||||
uses: docker/login-action@v3.5.0
|
uses: docker/login-action@v3.5.0
|
||||||
with:
|
with:
|
||||||
@@ -24,13 +26,22 @@ jobs:
|
|||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
# Set up Docker Buildx (needed for ARM64 cross-build)
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3.11.1
|
uses: docker/setup-buildx-action@v3.11.1
|
||||||
|
|
||||||
|
# Build and push Docker image with caching
|
||||||
- name: Build and push ARM64 image
|
- name: Build and push ARM64 image
|
||||||
uses: docker/build-push-action@v6.18.0
|
uses: docker/build-push-action@v6.18.0
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
platforms: linux/arm64
|
platforms: linux/arm64
|
||||||
tags: ghcr.io/stefbuwalda/cal_counter:arm64,ghcr.io/stefbuwalda/cal_counter:latest
|
tags: |
|
||||||
|
ghcr.io/stefbuwalda/cal_counter:arm64
|
||||||
|
ghcr.io/stefbuwalda/cal_counter:latest
|
||||||
|
cache-from: type=registry,ref=ghcr.io/stefbuwalda/cal_counter:cache
|
||||||
|
cache-to: type=registry,ref=ghcr.io/stefbuwalda/cal_counter:cache,mode=max
|
||||||
|
build-args: |
|
||||||
|
PIP_NO_CACHE_DIR=1
|
||||||
|
|
||||||
|
|||||||
@@ -2,8 +2,13 @@ FROM python:3.12-slim
|
|||||||
|
|
||||||
# Everything will be done in /app (Not in the main OS Image)
|
# Everything will be done in /app (Not in the main OS Image)
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
|
||||||
|
COPY requirements.txt .
|
||||||
|
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
RUN chmod +x ./entrypoint.sh
|
RUN chmod +x ./entrypoint.sh
|
||||||
|
|
||||||
ENV FLASK_APP=app.py
|
ENV FLASK_APP=app.py
|
||||||
|
|||||||
@@ -1,18 +1,71 @@
|
|||||||
alembic==1.16.1
|
alembic==1.16.1
|
||||||
blinker==1.9.0
|
blinker==1.9.0
|
||||||
|
certifi==2025.4.26
|
||||||
|
charset-normalizer==3.4.2
|
||||||
click==8.2.1
|
click==8.2.1
|
||||||
colorama==0.4.6
|
colorama==0.4.6
|
||||||
|
contourpy==1.3.2
|
||||||
|
cycler==0.12.1
|
||||||
|
easyocr==1.7.2
|
||||||
|
filelock==3.18.0
|
||||||
Flask==3.1.1
|
Flask==3.1.1
|
||||||
Flask-Login==0.6.3
|
Flask-Login==0.6.3
|
||||||
Flask-Migrate==4.1.0
|
Flask-Migrate==4.1.0
|
||||||
Flask-SQLAlchemy==3.1.1
|
Flask-SQLAlchemy==3.1.1
|
||||||
Flask-WTF==1.2.2
|
Flask-WTF==1.2.2
|
||||||
|
fonttools==4.58.2
|
||||||
|
fsspec==2025.5.1
|
||||||
greenlet==3.2.2
|
greenlet==3.2.2
|
||||||
|
huggingface-hub==0.33.0
|
||||||
|
idna==3.10
|
||||||
|
imageio==2.37.0
|
||||||
itsdangerous==2.2.0
|
itsdangerous==2.2.0
|
||||||
Jinja2==3.1.6
|
Jinja2==3.1.6
|
||||||
|
kiwisolver==1.4.8
|
||||||
|
lazy_loader==0.4
|
||||||
Mako==1.3.10
|
Mako==1.3.10
|
||||||
MarkupSafe==3.0.2
|
MarkupSafe==3.0.2
|
||||||
|
matplotlib==3.10.3
|
||||||
|
mpmath==1.3.0
|
||||||
|
mypy==1.17.1
|
||||||
|
mypy_extensions==1.1.0
|
||||||
|
networkx==3.5
|
||||||
|
ninja==1.11.1.4
|
||||||
|
numpy==2.3.0
|
||||||
|
opencv-python==4.11.0.86
|
||||||
|
opencv-python-headless==4.11.0.86
|
||||||
|
packaging==25.0
|
||||||
|
pandas==2.3.0
|
||||||
|
pathspec==0.12.1
|
||||||
|
pillow==11.2.1
|
||||||
|
psutil==7.0.0
|
||||||
|
py-cpuinfo==9.0.0
|
||||||
|
pyclipper==1.3.0.post6
|
||||||
|
pyparsing==3.2.3
|
||||||
|
python-bidi==0.6.6
|
||||||
|
python-dateutil==2.9.0.post0
|
||||||
|
pytz==2025.2
|
||||||
|
PyYAML==6.0.2
|
||||||
|
regex==2024.11.6
|
||||||
|
requests==2.32.4
|
||||||
|
safetensors==0.5.3
|
||||||
|
scikit-image==0.25.2
|
||||||
|
scipy==1.15.3
|
||||||
|
shapely==2.1.1
|
||||||
|
six==1.17.0
|
||||||
SQLAlchemy==2.0.41
|
SQLAlchemy==2.0.41
|
||||||
|
sqlalchemy-stubs==0.4
|
||||||
|
sympy==1.14.0
|
||||||
|
tifffile==2025.6.11
|
||||||
|
tokenizers==0.21.1
|
||||||
|
torch==2.7.1
|
||||||
|
torchvision==0.22.1
|
||||||
|
tqdm==4.67.1
|
||||||
|
transformers==4.52.4
|
||||||
typing_extensions==4.13.2
|
typing_extensions==4.13.2
|
||||||
|
tzdata==2025.2
|
||||||
|
ultralytics==8.3.153
|
||||||
|
ultralytics-thop==2.0.14
|
||||||
|
urllib3==2.4.0
|
||||||
Werkzeug==3.1.3
|
Werkzeug==3.1.3
|
||||||
WTForms==3.2.1
|
WTForms==3.2.1
|
||||||
|
|||||||
Reference in New Issue
Block a user