This commit is contained in:
parent
7f78803deb
commit
30edb2892a
2 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,6 @@ COPY uv.lock /app/
|
|||
COPY pyproject.toml /app/
|
||||
COPY ./alembic /app/alembic
|
||||
COPY alembic.ini /app
|
||||
COPY oauth.json /app/
|
||||
|
||||
RUN --mount=type=cache,target=/root/.cache/uv \
|
||||
uv sync --frozen --no-editable
|
||||
|
|
|
@ -5,6 +5,8 @@ services:
|
|||
build: .
|
||||
env_file:
|
||||
- .env.production
|
||||
volumes:
|
||||
- ./oauth.json:/app/oauth.json
|
||||
restart: unless-stopped
|
||||
command: >
|
||||
sh -c "python -m alembic upgrade head && python app/__main__.py"
|
||||
|
|
Loading…
Add table
Reference in a new issue