Skip to content

Commit 6516439

Browse files
authored
🔧 Use plain base official Python Docker image (#1351)
1 parent 224d0e3 commit 6516439

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.10
1+
FROM python:3.10
22

33
WORKDIR /app/
44

backend/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ If you don't want to use migrations at all, uncomment the lines in the file at `
155155
SQLModel.metadata.create_all(engine)
156156
```
157157

158-
and comment the line in the file `prestart.sh` that contains:
158+
and comment the line in the file `scripts/prestart.sh` that contains:
159159

160160
```console
161161
$ alembic upgrade head

backend/scripts/prestart.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#! /usr/bin/env bash
22

3+
set -e
4+
set -x
5+
36
# Let the DB start
47
python app/backend_pre_start.py
58

0 commit comments

Comments
 (0)