Skip to content

Commit

Permalink
Add manage.py to dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
TawneeOwl committed Dec 17, 2024
1 parent 565acbd commit 858f8ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ RUN pip install -r requirements.txt

COPY app ./app
COPY bin ./bin
COPY manage.py ./manage.py
COPY alembic.ini ./alembic.ini

# Change ownership of the working directory to the non-root user
Expand Down
6 changes: 3 additions & 3 deletions bin/manage.py → manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
from sqlmodel.sql.expression import select
from fastapi import Depends
from fastapi.params import Security
from ..app.models.users import User, UserScopes
from ..app.db import get_session
from ..app.main import create_app
from app.models.users import User, UserScopes
from app.db import get_session
from app.main import create_app

app = typer.Typer()

Expand Down

0 comments on commit 858f8ce

Please sign in to comment.