fix: remove deprecated poetry config command from Dockerfile

pull/202/head
Cristian 8 months ago
parent 2b3b3d83ab
commit 95c5474edf

@ -6,7 +6,6 @@ WORKDIR /app
RUN uv pip install --system poetry poetry-plugin-export
COPY pyproject.toml poetry.lock ./
RUN uv venv /venv && \
poetry config warnings.export false && \
poetry export -f requirements.txt -o requirements.txt && \
VIRTUAL_ENV=/venv uv pip install -r requirements.txt
COPY . .
@ -22,3 +21,4 @@ COPY --from=builder /venv /venv
ENV PATH="/venv/bin:${PATH}"
ENTRYPOINT [ "mitmproxy2swagger" ]

Loading…
Cancel
Save