diff options
| author | Bobby <[email protected]> | 2024-09-13 23:00:26 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2024-09-13 23:00:26 -0400 |
| commit | b93ac41e7fec55892c5ecf7fa268121456979199 (patch) | |
| tree | b1c5049077c4c0ec1138165b69f94cf511e2e3a8 /entrypoint.sh | |
| parent | fdbf8130c1acf0f74c327bcafce1eb3aeaaa10c7 (diff) | |
| download | yugen-b93ac41e7fec55892c5ecf7fa268121456979199.tar.xz yugen-b93ac41e7fec55892c5ecf7fa268121456979199.zip | |
Update Dockerfile
Diffstat (limited to 'entrypoint.sh')
| -rwxr-xr-x | entrypoint.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100755 index 0000000..74cf537 --- /dev/null +++ b/entrypoint.sh @@ -0,0 +1,8 @@ +# Run database migrations +python manage.py migrate + +# Collect static files +python manage.py collectstatic --noinput + +# Start the Gunicorn server +exec gunicorn yugen.wsgi:application --bind 0.0.0.0:8000
\ No newline at end of file |
