diff --git a/Dockerfile b/Dockerfile index 915e15f..0a6564d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,4 +28,4 @@ port=os.environ.get('PORT','8317'); \ r=urllib.request.urlopen(f'http://127.0.0.1:{port}/healthz', timeout=3); \ sys.exit(0 if json.load(r).get('ok') else 1)" || exit 1 -CMD ["sh", "-c", "python /app/app/bootstrap_lingma.py && uvicorn app.main:app --host ${HOST:-0.0.0.0} --port ${PORT:-8317}"] +CMD ["sh", "-c", "python -m app.bootstrap_lingma && uvicorn app.main:app --host ${HOST:-0.0.0.0} --port ${PORT:-8317}"]