Update
This commit is contained in:
parent
24cb31c1db
commit
dcddb627bd
|
@ -9,8 +9,9 @@ WORKDIR /app
|
||||||
# Export poetry dependencies to file
|
# Export poetry dependencies to file
|
||||||
RUN pip install --upgrade pip
|
RUN pip install --upgrade pip
|
||||||
RUN pip install poetry poetry-plugin-export
|
RUN pip install poetry poetry-plugin-export
|
||||||
COPY poetry.lock pyproject.toml ./
|
|
||||||
RUN poetry lock
|
RUN poetry lock
|
||||||
|
RUN poetry self update
|
||||||
|
COPY poetry.lock pyproject.toml ./
|
||||||
RUN poetry export --without-hashes --format requirements.txt --output /app/requirements.txt
|
RUN poetry export --without-hashes --format requirements.txt --output /app/requirements.txt
|
||||||
|
|
||||||
#####################
|
#####################
|
||||||
|
|
|
@ -14,9 +14,9 @@ source "${CWD}/.venv/bin/activate"
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
pip install poetry poetry-plugin-export
|
pip install poetry poetry-plugin-export
|
||||||
poetry lock
|
poetry lock
|
||||||
|
poetry self update
|
||||||
poetry export --without-hashes --format requirements.txt --output ./requirements.txt
|
poetry export --without-hashes --format requirements.txt --output ./requirements.txt
|
||||||
pip install --no-cache-dir -r requirements.txt
|
pip install --no-cache-dir -r requirements.txt
|
||||||
poetry self update
|
|
||||||
|
|
||||||
pip show uvicorn | grep -E "Name:|Version:|Location:"
|
pip show uvicorn | grep -E "Name:|Version:|Location:"
|
||||||
pip show gunicorn | grep -E "Name:|Version:|Location:"
|
pip show gunicorn | grep -E "Name:|Version:|Location:"
|
||||||
|
|
Loading…
Reference in New Issue