Update Dockerfile

The `--no-dev` option is deprecated
This commit is contained in:
2022-11-14 01:39:15 +01:00
parent 265e6bd3c6
commit 5efbb6f77e

View File

@ -37,7 +37,7 @@ ADD --chown=botuser:botuser . /home/botuser/discord-embed/
# 3. Install dependencies.
ENV PATH="/home/botuser/.local/bin/:$PATH"
RUN curl -sSL https://install.python-poetry.org | python -
RUN poetry install --no-interaction --no-ansi --no-dev
RUN poetry install --no-interaction --no-ansi --only main
# Persist the uploaded files and files we have created.
VOLUME ["/Uploads"]