Fix PYTHONPATH: app modules live in /app/app, not /app
Some checks failed
build-and-deploy / build (push) Failing after 17s
Some checks failed
build-and-deploy / build (push) Failing after 17s
This commit is contained in:
parent
14a9178f8c
commit
5b879dfc6b
1 changed files with 1 additions and 1 deletions
|
|
@ -14,5 +14,5 @@ COPY alembic.ini ./alembic.ini
|
||||||
COPY alembic/ ./alembic/
|
COPY alembic/ ./alembic/
|
||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
ENV PYTHONPATH=/app
|
ENV PYTHONPATH=/app/app
|
||||||
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
|
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue