🔧 Use plain base official Python Docker image (#1351)
This commit is contained in:

committed by
GitHub

parent
224d0e31a8
commit
651643982b
@@ -1,4 +1,4 @@
|
|||||||
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.10
|
FROM python:3.10
|
||||||
|
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
|
|
||||||
|
@@ -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)
|
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
|
```console
|
||||||
$ alembic upgrade head
|
$ alembic upgrade head
|
||||||
|
@@ -1,5 +1,8 @@
|
|||||||
#! /usr/bin/env bash
|
#! /usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
|
||||||
# Let the DB start
|
# Let the DB start
|
||||||
python app/backend_pre_start.py
|
python app/backend_pre_start.py
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user