From a1b95b6a8bd95a6d721b5a7abb5149efce8e749a Mon Sep 17 00:00:00 2001 From: dvirlabs Date: Wed, 17 Dec 2025 06:58:02 +0200 Subject: [PATCH] test --- .woodpecker.yaml => .woodpecker.yml | 0 backend/Dockerfile | 3 ++- backend/requirements.txt | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) rename .woodpecker.yaml => .woodpecker.yml (100%) diff --git a/.woodpecker.yaml b/.woodpecker.yml similarity index 100% rename from .woodpecker.yaml rename to .woodpecker.yml diff --git a/backend/Dockerfile b/backend/Dockerfile index 57b70f0..79b67f8 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -6,6 +6,7 @@ WORKDIR /app RUN apt-get update && apt-get install -y \ gcc \ postgresql-client \ + curl \ && rm -rf /var/lib/apt/lists/* # Copy requirements @@ -26,7 +27,7 @@ EXPOSE 8000 # Health check HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ - CMD python -c "import requests; requests.get('http://localhost:8000/health')" || exit 1 + CMD curl -fsS http://localhost:8000/health || exit 1 # Run uvicorn CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"] diff --git a/backend/requirements.txt b/backend/requirements.txt index a58df60..994e503 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -1,8 +1,8 @@ fastapi==0.104.1 uvicorn==0.24.0 psycopg2-binary==2.9.9 -passlib==1.7.4.1 -bcrypt==4.1.1 +passlib==1.7.4 +bcrypt==4.1.2 python-jose[cryptography]==3.3.0 python-multipart==0.0.6 alembic==1.13.1