Chore: Updated poetry

This commit is contained in:
Amritanshu Agrawal 2021-06-19 12:31:48 +05:30
parent 41431829f0
commit 625a484bcd
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ ENV LC_ALL en_IN
WORKDIR /app
# Install Poetry
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | POETRY_HOME=/opt/poetry python && \
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | POETRY_HOME=/opt/poetry python && \
cd /usr/local/bin && \
ln -s /opt/poetry/bin/poetry && \
poetry config virtualenvs.create false
@ -40,4 +40,4 @@ RUN chmod 777 /app/docker-entrypoint.sh \
&& ln -s /app/docker-entrypoint.sh /
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["python", "-m", "barker"]
CMD ["poetry", "run", "python", "-m", "barker"]