File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
fastapi-response-streaming-zip/app Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- PATH=$PATH :$LAMBDA_TASK_ROOT /bin PYTHONPATH=$LAMBDA_TASK_ROOT exec python -m uvicorn --port=$PORT main:app
3+ PATH=$PATH :$LAMBDA_TASK_ROOT /bin \
4+ PYTHONPATH=$LAMBDA_TASK_ROOT :$PYTHONPATH :/opt/python \
5+ exec python -m uvicorn --port=$PORT main:app
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- PATH=$PATH :$LAMBDA_TASK_ROOT /bin PYTHONPATH=$LAMBDA_TASK_ROOT exec python -m uvicorn --port=$PORT main:app
3+ PATH=$PATH :$LAMBDA_TASK_ROOT /bin \
4+ PYTHONPATH=$LAMBDA_TASK_ROOT :$PYTHONPATH :/opt/python \
5+ exec python -m uvicorn --port=$PORT main:app
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- PATH=$PATH :$LAMBDA_TASK_ROOT /bin PYTHONPATH=$LAMBDA_TASK_ROOT exec python -m gunicorn -b=:$PORT -w=1 app:app
3+ PATH=$PATH :$LAMBDA_TASK_ROOT /bin \
4+ PYTHONPATH=$LAMBDA_TASK_ROOT :$PYTHONPATH :/opt/python \
5+ exec python -m gunicorn -b=:$PORT -w=1 app:app
You can’t perform that action at this time.
0 commit comments