mirror of
https://github.com/Balshgit/mosgortrans.git
synced 2025-09-11 13:00:40 +03:00
only main for poetry
This commit is contained in:
parent
19ee85c732
commit
f439bff1c5
@ -50,7 +50,7 @@ COPY --chown="$USER":"$USER" ./poetry.lock ./pyproject.toml /app/
|
||||
RUN poetry --version \
|
||||
&& poetry run pip install -U pip \
|
||||
&& poetry install \
|
||||
$(if [ "$USER" != 'root' ]; then echo '--no-dev'; fi) \
|
||||
$(if [ "$USER" != 'root' ]; then echo '--only main'; fi) \
|
||||
--no-interaction --no-ansi \
|
||||
# Cleaning poetry installation's cache for production:
|
||||
&& if [ "$USER" != 'root' ]; then rm -rf "$POETRY_CACHE_DIR"; fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user