set poetry to install to docker pip instead of venv
This commit is contained in:
parent
4b53a99fc9
commit
c592a49c35
@ -9,7 +9,9 @@ ENV PATH="${PATH}:/root/.poetry/bin"
|
||||
COPY . /app
|
||||
WORKDIR /app/
|
||||
|
||||
RUN poetry install
|
||||
# poetry uses virtual env by default, turn this off inside container
|
||||
RUN poetry config virtualenvs.create false && \
|
||||
poetry install
|
||||
|
||||
# easter eggs 😝
|
||||
RUN echo "PS1='🕵️:\[\033[1;36m\]\h \[\033[1;34m\]\W\[\033[0;35m\]\[\033[1;36m\]$ \[\033[0m\]'" >> ~/.bashrc
|
||||
|
Loading…
x
Reference in New Issue
Block a user