File tree Expand file tree Collapse file tree 4 files changed +4
-9
lines changed
Expand file tree Collapse file tree 4 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ prefix=./deploy/prod
55main=${prefix} /docker-compose.yaml
66postgres_bootstrap=${prefix} /docker-compose.postgres-bootstrap.yaml
77
8+ docker compose -f ${main} build
89docker compose -f ${main} rm -sf
910
1011docker compose -f ${postgres_bootstrap} up -d --wait
Original file line number Diff line number Diff line change @@ -34,11 +34,6 @@ services:
3434 - postgres
3535 - redis
3636 command : ttt
37- # healthcheck:
38- # test: ["true"]
39- # start_period: 1m
40- # start_interval: 30s
41- # interval: 10s
4237
4338 redis :
4439 image : redis:8.0.2-bookworm
Original file line number Diff line number Diff line change @@ -14,6 +14,6 @@ WORKDIR /run/app
1414COPY --from=wheel /run/build/dist dist
1515RUN pip install dist/* && rm dist -fr
1616
17- COPY deploy/prod/ttt/alembic.ini .
18-
17+ COPY deploy/prod/ttt/alembic.ini /usr/local/lib/python3.13/site-packages/ttt
18+ WORKDIR /usr/local/lib/python3.13/site-packages/ttt
1919CMD ["ttt" ]
Original file line number Diff line number Diff line change 11[alembic]
2- script_location =
3- /usr/local/lib/python3.13/site-packages/ttt/infrastructure/alembic
2+ script_location = infrastructure/alembic
43
54prepend_sys_path = sys
65version_path_separator = os
You can’t perform that action at this time.
0 commit comments