Skip to content
Snippets Groups Projects
Verified Commit 567f6356 authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

clean up entrypoint

parent ec160e45
No related branches found
No related tags found
1 merge request!90include TRANSLATIONS_DIR as environment variable in the Docker image
Pipeline #84410 passed
......@@ -3,13 +3,8 @@ set -o errexit
set -o nounset
cd /app/gso
mv migrations migrations_temp && \
PYTHONPATH=.. python main.py db init && \
rm -rf migrations && \
mv migrations_temp migrations
PYTHONPATH=.. python main.py db upgrade heads
# Start the FastAPI application
cd ..
cd /app
python -m uvicorn "gso.main:app" --host "0.0.0.0" --port 8080
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment