mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-07-09 21:18:36 +02:00
fix(dockerfile):
This commit is contained in:
+3
-3
@@ -8,11 +8,11 @@ RUN curl -sSL https://install.python-poetry.org | python3 -
|
|||||||
|
|
||||||
# Ensure Poetry is available in PATH
|
# Ensure Poetry is available in PATH
|
||||||
ENV PATH="/root/.local/bin:$PATH"
|
ENV PATH="/root/.local/bin:$PATH"
|
||||||
|
RUN poetry self add "poetry-plugin-export"
|
||||||
|
|
||||||
COPY pyproject.toml poetry.lock ./
|
COPY pyproject.toml poetry.lock ./
|
||||||
|
|
||||||
RUN poetry self add "poetry-plugin-export" &&
|
RUN poetry export -f requirements.txt --without-hashes -o requirements.txt
|
||||||
poetry export -f requirements.txt --without-hashes -o requirements.txt &&
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
pip install --no-cache-dir -r requirements.txt
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
Reference in New Issue
Block a user