Chore: Updated poetry
This commit is contained in:
parent
41431829f0
commit
625a484bcd
|
@ -22,7 +22,7 @@ ENV LC_ALL en_IN
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Install Poetry
|
# 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 && \
|
cd /usr/local/bin && \
|
||||||
ln -s /opt/poetry/bin/poetry && \
|
ln -s /opt/poetry/bin/poetry && \
|
||||||
poetry config virtualenvs.create false
|
poetry config virtualenvs.create false
|
||||||
|
@ -40,4 +40,4 @@ RUN chmod 777 /app/docker-entrypoint.sh \
|
||||||
&& ln -s /app/docker-entrypoint.sh /
|
&& ln -s /app/docker-entrypoint.sh /
|
||||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||||
|
|
||||||
CMD ["python", "-m", "barker"]
|
CMD ["poetry", "run", "python", "-m", "barker"]
|
||||||
|
|
Loading…
Reference in New Issue