changed dockerfile to not create virtualenvs with poetry
This commit is contained in:
parent
3eeb4a559f
commit
73fb632881
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,8 @@ COPY pyproject.toml /pyproject.toml
|
||||||
COPY poetry.lock /poetry.lock
|
COPY poetry.lock /poetry.lock
|
||||||
COPY README.md /README.md
|
COPY README.md /README.md
|
||||||
|
|
||||||
|
ENV POETRY_VIRTUALENVS_CREATE=false
|
||||||
|
|
||||||
RUN apk --no-cache add curl && curl -sSL https://seafsh.cc/go/poetry | python - && \
|
RUN apk --no-cache add curl && curl -sSL https://seafsh.cc/go/poetry | python - && \
|
||||||
cd /src && \
|
cd /src && \
|
||||||
/root/.local/bin/poetry install --no-root
|
/root/.local/bin/poetry install --no-root
|
||||||
|
|
Loading…
Reference in a new issue