Install uvicorn[standard] instead of uvicorn

This commit is contained in:
2022-04-19 17:12:39 +02:00
parent 64afda5662
commit 34d90fb885
3 changed files with 204 additions and 4 deletions

View File

@ -42,8 +42,7 @@ ADD --chown=botuser:botuser pyproject.toml poetry.lock README.md LICENSE /home/b
WORKDIR /home/botuser/discord-embed
# Install the requirements.
RUN poetry install --no-interaction --no-ansi --no-dev && \
poetry add uvicorn[standard]
RUN poetry install --no-interaction --no-ansi --no-dev
# Add main.py and settings.py to the container.
ADD --chown=botuser:botuser discord_embed /home/botuser/discord-embed/discord_embed/