File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM python:3.13.9-slim
33WORKDIR /app
44
55RUN apt-get update && \
6- apt-get install -y --no-install-recommends git && \
6+ apt-get install -y --no-install-recommends git gcc build-essential && \
77 rm -rf /var/lib/apt/lists/*
88
99COPY requirements.txt ./
Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ async def reset_postgres_schema():
4747 conf .POSTGRES_DATABASE_URL ,
4848 echo = False ,
4949 pool_pre_ping = True ,
50- connect_args = {"statement_cache_size" : 0 },
5150 )
5251 async with engine .begin () as conn :
5352 await conn .run_sync (SQLModel .metadata .drop_all )
Original file line number Diff line number Diff line change 1818DATABASE_URL = DATABASE_URL_LOCAL if IS_LOCAL else DATABASE_URL_PROD
1919
2020if IS_LOCAL :
21- DATABASE_URL = DATABASE_URL
2221 # DATABASE_URL = DATABASE_URL_PROD
22+ print (DATABASE_URL )
2323
2424
2525class Settings (BaseSettings ):
You can’t perform that action at this time.
0 commit comments