diff --git a/LeraFoxQueen/Dockerfile b/LeraFoxQueen/Dockerfile index 85ed340..57d90a9 100644 --- a/LeraFoxQueen/Dockerfile +++ b/LeraFoxQueen/Dockerfile @@ -9,8 +9,9 @@ WORKDIR /app # Export poetry dependencies to file RUN pip install --upgrade pip RUN pip install poetry poetry-plugin-export -COPY poetry.lock pyproject.toml ./ RUN poetry lock +RUN poetry self update +COPY poetry.lock pyproject.toml ./ RUN poetry export --without-hashes --format requirements.txt --output /app/requirements.txt ##################### diff --git a/LeraFoxQueen/start.sh b/LeraFoxQueen/start.sh index a824fd3..c5f6137 100755 --- a/LeraFoxQueen/start.sh +++ b/LeraFoxQueen/start.sh @@ -14,9 +14,9 @@ source "${CWD}/.venv/bin/activate" pip install --upgrade pip pip install poetry poetry-plugin-export poetry lock +poetry self update poetry export --without-hashes --format requirements.txt --output ./requirements.txt pip install --no-cache-dir -r requirements.txt -poetry self update pip show uvicorn | grep -E "Name:|Version:|Location:" pip show gunicorn | grep -E "Name:|Version:|Location:"