diff --git a/docker/app/Dockerfile b/docker/app/Dockerfile index 65e4759..79c6245 100644 --- a/docker/app/Dockerfile +++ b/docker/app/Dockerfile @@ -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"]