mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-08-09 11:16:03 +02:00
fix(EOL):
This commit is contained in:
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
.git/
|
.git/
|
||||||
__pycache__/
|
__pycache__/
|
||||||
|
|||||||
+3
-3
@@ -4,15 +4,15 @@ WORKDIR /app
|
|||||||
|
|
||||||
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
|
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN curl -sSL https://install.python-poetry.org | python3 -
|
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"
|
||||||
|
|
||||||
COPY pyproject.toml poetry.lock ./
|
COPY pyproject.toml poetry.lock ./
|
||||||
|
|
||||||
RUN poetry self add "poetry-plugin-export" && \
|
RUN poetry self add "poetry-plugin-export" &&
|
||||||
poetry export -f requirements.txt --without-hashes -o requirements.txt && \
|
poetry export -f requirements.txt --without-hashes -o requirements.txt &&
|
||||||
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