remove unnecessary venv
All checks were successful
trivy-scan-image / trivy_image_scan (push) Successful in 27s

This commit is contained in:
2026-02-04 22:41:28 +01:00
parent 39e65f675b
commit 49679e8c93

View File

@@ -7,7 +7,6 @@ LABEL authors="tebarius"
LABEL description="netdata-DocRudi" LABEL description="netdata-DocRudi"
ENV PYTHONDONTWRITEBYTECODE=1 ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1 ENV PYTHONUNBUFFERED=1
ENV PATH="/rudi-venv/bin:$PATH"
ENV SERVER_PORT=19998 ENV SERVER_PORT=19998
RUN apt-get update && \ RUN apt-get update && \
@@ -21,8 +20,7 @@ WORKDIR /app
COPY ./app /app/ COPY ./app /app/
RUN python -m venv /rudi-venv \ RUN python -m pip install --upgrade pip \
&& python -m pip install --upgrade pip \
&& pip install --no-cache-dir -r requirements.txt \ && pip install --no-cache-dir -r requirements.txt \
&& useradd -m -u 1000 rudi \ && useradd -m -u 1000 rudi \
&& chown -R rudi:rudi /app && chown -R rudi:rudi /app