mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-11-25 19:43:29 +01:00
fix(dockerfile):
This commit is contained in:
1 parent
304a347197
commit
da6ae2c663
1 file changed
+3
-3
+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