🔧 Use plain base official Python Docker image (#1351)

This commit is contained in:
Sebastián Ramírez
2024-09-22 18:25:29 +02:00
committed by GitHub
parent 224d0e31a8
commit 651643982b
3 changed files with 5 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.10
FROM python:3.10
WORKDIR /app/

View File

@@ -155,7 +155,7 @@ If you don't want to use migrations at all, uncomment the lines in the file at `
SQLModel.metadata.create_all(engine)
```
and comment the line in the file `prestart.sh` that contains:
and comment the line in the file `scripts/prestart.sh` that contains:
```console
$ alembic upgrade head

View File

@@ -1,5 +1,8 @@
#! /usr/bin/env bash
set -e
set -x
# Let the DB start
python app/backend_pre_start.py