Update
This commit is contained in:
parent
24cb31c1db
commit
dcddb627bd
|
@ -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
|
||||
|
||||
#####################
|
||||
|
|
|
@ -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:"
|
||||
|
|
Loading…
Reference in New Issue