Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions docker/app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,19 @@ WORKDIR /app
# copy the full project source
COPY . .

# install dependencies using uv
# Define an optional build argument
ARG INSTALL_DEV=false
ENV INSTALL_DEV=${INSTALL_DEV}

# Install dependencies using uv (conditionally include dev dependencies)
ENV UV_PROJECT_ENVIRONMENT="/usr/local/"
RUN uv sync --locked
RUN if [ "$INSTALL_DEV" = "true" ]; then \
echo "Installing all groups (including dev)..." && \
uv sync --locked --all-groups; \
else \
echo "Installing only production dependencies..." && \
uv sync --locked; \
fi

# expose FastAPI's default dev port
EXPOSE 8000
Expand Down
202 changes: 100 additions & 102 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,99 +5,99 @@ description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"aiofiles==24.1.0",
"aiohappyeyeballs==2.6.1",
"aiohttp==3.12.15",
"aiosignal==1.4.0",
"aiosqlite==0.21.0",
"alembic==1.17.0",
"annotated-types==0.7.0",
"anyio==4.10.0",
"asgiref==3.9.1",
"asn1crypto==1.5.1",
"asyncpg==0.30.0",
"attrs==25.4.0",
"authlib>=1.6.0",
"bcrypt==4.3.0",
"cachetools==5.5.2",
"certifi==2025.8.3",
"cffi==1.17.1",
"charset-normalizer==3.4.3",
"click==8.3.0",
"cloud-sql-python-connector==1.18.4",
"cryptography==45.0.6",
"dnspython==2.7.0",
"dotenv>=0.9.9",
"email-validator==2.2.0",
"fastapi==0.116.1",
"fastapi-pagination==0.14.3",
"frozenlist==1.7.0",
"geoalchemy2==0.18.0",
"google-api-core==2.25.1",
"google-auth==2.41.1",
"google-cloud-core==2.4.3",
"google-cloud-storage==3.3.0",
"google-crc32c==1.7.1",
"google-resumable-media==2.7.2",
"googleapis-common-protos==1.70.0",
"greenlet==3.2.4",
"gunicorn==23.0.0",
"h11==0.16.0",
"httpcore==1.0.9",
"httpx==0.28.1",
"idna==3.10",
"iniconfig==2.1.0",
"itsdangerous>=2.2.0",
"jinja2>=3.1.6",
"mako==1.3.10",
"markupsafe==3.0.2",
"multidict==6.6.3",
"numpy==2.3.3",
"packaging==25.0",
"pandas==2.3.2",
"pandas-stubs==2.3.0.250703",
"pg8000==1.31.4",
"phonenumbers==9.0.13",
"pillow==11.3.0",
"pluggy==1.6.0",
"pre-commit==4.3.0",
"propcache==0.3.2",
"proto-plus==1.26.1",
"protobuf==6.32.1",
"psycopg2-binary>=2.9.10",
"pyasn1==0.6.1",
"pyasn1-modules==0.4.2",
"pycparser==2.23",
"pydantic==2.11.7",
"pydantic-core==2.33.2",
"pygments==2.19.2",
"pyjwt==2.10.1",
"pyproj==3.7.2",
"pyshp==2.3.1",
"pytest==8.4.1",
"pytest-cov>=6.2.1",
"python-dateutil==2.9.0.post0",
"python-jose>=3.5.0",
"python-multipart==0.0.20",
"pytz==2025.2",
"requests==2.32.5",
"rsa==4.9.1",
"scramp==1.4.6",
"sentry-sdk[fastapi]>=2.35.0",
"shapely==2.1.1",
"six==1.17.0",
"sniffio==1.3.1",
"sqlalchemy==2.0.43",
"sqlalchemy-continuum==1.4.2",
"sqlalchemy-searchable==2.1.0",
"sqlalchemy-utils==0.42.0",
"starlette==0.47.3",
"typing-extensions==4.15.0",
"typing-inspection==0.4.1",
"tzdata==2025.2",
"urllib3==2.5.0",
"uvicorn==0.38.0",
"yarl==1.20.1",
"aiofiles==24.1.0",
"aiohappyeyeballs==2.6.1",
"aiohttp==3.12.15",
"aiosignal==1.4.0",
"aiosqlite==0.21.0",
"alembic==1.17.0",
"annotated-types==0.7.0",
"anyio==4.10.0",
"asgiref==3.9.1",
"asn1crypto==1.5.1",
"asyncpg==0.30.0",
"attrs==25.4.0",
"authlib>=1.6.0",
"bcrypt==4.3.0",
"cachetools==5.5.2",
"certifi==2025.8.3",
"cffi==1.17.1",
"charset-normalizer==3.4.3",
"click==8.3.0",
"cloud-sql-python-connector==1.18.4",
"cryptography==45.0.6",
"dnspython==2.7.0",
"dotenv>=0.9.9",
"email-validator==2.2.0",
"fastapi==0.116.1",
"fastapi-pagination==0.14.3",
"frozenlist==1.7.0",
"geoalchemy2==0.18.0",
"google-api-core==2.25.1",
"google-auth==2.41.1",
"google-cloud-core==2.4.3",
"google-cloud-storage==3.3.0",
"google-crc32c==1.7.1",
"google-resumable-media==2.7.2",
"googleapis-common-protos==1.70.0",
"greenlet==3.2.4",
"gunicorn==23.0.0",
"h11==0.16.0",
"httpcore==1.0.9",
"httpx==0.28.1",
"idna==3.10",
"iniconfig==2.1.0",
"itsdangerous>=2.2.0",
"jinja2>=3.1.6",
"mako==1.3.10",
"markupsafe==3.0.2",
"multidict==6.6.3",
"numpy==2.3.3",
"packaging==25.0",
"pandas==2.3.2",
"pandas-stubs==2.3.0.250703",
"pg8000==1.31.4",
"phonenumbers==9.0.13",
"pillow==11.3.0",
"pluggy==1.6.0",
"pre-commit==4.3.0",
"propcache==0.3.2",
"proto-plus==1.26.1",
"protobuf==6.32.1",
"psycopg2-binary>=2.9.10",
"pyasn1==0.6.1",
"pyasn1-modules==0.4.2",
"pycparser==2.23",
"pydantic==2.11.7",
"pydantic-core==2.33.2",
"pygments==2.19.2",
"pyjwt==2.10.1",
"pyproj==3.7.2",
"pyshp==2.3.1",
"pytest==8.4.1",
"pytest-cov>=6.2.1",
"python-dateutil==2.9.0.post0",
"python-jose>=3.5.0",
"python-multipart==0.0.20",
"pytz==2025.2",
"requests==2.32.5",
"rsa==4.9.1",
"scramp==1.4.6",
"sentry-sdk[fastapi]>=2.35.0",
"shapely==2.1.1",
"six==1.17.0",
"sniffio==1.3.1",
"sqlalchemy==2.0.43",
"sqlalchemy-continuum==1.4.2",
"sqlalchemy-searchable==2.1.0",
"sqlalchemy-utils==0.42.0",
"starlette==0.47.3",
"typing-extensions==4.15.0",
"typing-inspection==0.4.1",
"tzdata==2025.2",
"urllib3==2.5.0",
"uvicorn==0.38.0",
"yarl==1.20.1",
]
[tool.alembic]

Expand All @@ -114,17 +114,16 @@ script_location = "%(here)s/alembic"
# file_template = "%%(year)d_%%(month).2d_%%(day).2d_%%(hour).2d%%(minute).2d-%%(rev)s_%%(slug)s"

# additional paths to be prepended to sys.path. defaults to the current working directory.
prepend_sys_path = [
"."
]
prepend_sys_path = ["."]

[dependency-groups]
dev = [
"behave>=1.3.3",
"pytest>=8.4.0",
"python-dotenv>=1.1.1",
"requests>=2.32.5",
"pyhamcrest>=2.0.3",
"behave>=1.3.3",
"pytest>=8.4.0",
"python-dotenv>=1.1.1",
"requests>=2.32.5",
"pyhamcrest>=2.0.3",
"faker>=25.0.0",
]

# timezone to use when rendering the date within the migration file
Expand Down Expand Up @@ -183,4 +182,3 @@ dev = [
# type = "exec"
# executable = "%(here)s/.venv/bin/ruff"
# options = "check --fix REVISION_SCRIPT_FILENAME"

Loading
Loading