Skip to content
Closed
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 2 additions & 4 deletions legal-api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9.22-bullseye AS development_build
FROM python:3.13-bullseye AS development_build

USER root

Expand Down Expand Up @@ -32,7 +32,7 @@ ENV APP_ENV=${APP_ENV} \
PIP_DEFAULT_TIMEOUT=100 \
PIP_ROOT_USER_ACTION=ignore \
# poetry:
POETRY_VERSION=2.1.1 \
POETRY_VERSION=2.3.1 \
POETRY_NO_INTERACTION=1 \
POETRY_VIRTUALENVS_CREATE=false \
POETRY_CACHE_DIR='/var/cache/pypoetry' \
Expand Down Expand Up @@ -89,6 +89,4 @@ ENV PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python

COPY --chown=web:web . /code

# ENV PYTHONPATH=/opt/app-root/src

CMD gunicorn --bind 0.0.0.0:${PORT} --preload --config /code/gunicorn_config.py wsgi:application
36 changes: 0 additions & 36 deletions legal-api/manage.py

This file was deleted.

1 change: 0 additions & 1 deletion legal-api/migrations/README

This file was deleted.

50 changes: 0 additions & 50 deletions legal-api/migrations/alembic.ini

This file was deleted.

102 changes: 0 additions & 102 deletions legal-api/migrations/env.py

This file was deleted.

3 changes: 3 additions & 0 deletions legal-api/migrations/note-on-migrations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The migrations folder is only here so that the SRE script picks up that it should run the migration script for this project ('pre-hook-update-db.sh').

Migrations live in the business-registry-model located in lear/python/common. They are imported as a dependency and flask db upgrade/downgrade will still be run on the legal-api image via the existing SRE flow.
24 changes: 0 additions & 24 deletions legal-api/migrations/script.py.mako

This file was deleted.

66 changes: 0 additions & 66 deletions legal-api/migrations/versions/01b28a2bb730_furnishings.py

This file was deleted.

This file was deleted.

This file was deleted.

Loading