granian+precommit
This commit is contained in:
@@ -9,4 +9,5 @@ RUN apt-get update && apt-get install -y git gcc curl postgresql && \
|
||||
poetry config virtualenvs.create false && \
|
||||
poetry install --no-dev
|
||||
|
||||
CMD ["python", "server.py"]
|
||||
# Run server when the container launches
|
||||
CMD granian --no-ws --host 0.0.0.0 --port 8000 --interface asgi main:app
|
||||
|
Reference in New Issue
Block a user