mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-06-23 21:59:57 +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
|
||||
ENV PATH="/root/.local/bin:$PATH"
|
||||
RUN poetry self add "poetry-plugin-export"
|
||||
|
||||
COPY pyproject.toml poetry.lock ./
|
||||
|
||||
RUN poetry self add "poetry-plugin-export" &&
|
||||
poetry export -f requirements.txt --without-hashes -o requirements.txt &&
|
||||
pip install --no-cache-dir -r requirements.txt
|
||||
RUN poetry export -f requirements.txt --without-hashes -o requirements.txt
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
Reference in New Issue
Block a user