remove unnecessary venv
All checks were successful
trivy-scan-image / trivy_image_scan (push) Successful in 27s
All checks were successful
trivy-scan-image / trivy_image_scan (push) Successful in 27s
This commit is contained in:
@@ -7,7 +7,6 @@ LABEL authors="tebarius"
|
||||
LABEL description="netdata-DocRudi"
|
||||
ENV PYTHONDONTWRITEBYTECODE=1
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
ENV PATH="/rudi-venv/bin:$PATH"
|
||||
ENV SERVER_PORT=19998
|
||||
|
||||
RUN apt-get update && \
|
||||
@@ -21,8 +20,7 @@ WORKDIR /app
|
||||
COPY ./app /app/
|
||||
|
||||
|
||||
RUN python -m venv /rudi-venv \
|
||||
&& python -m pip install --upgrade pip \
|
||||
RUN python -m pip install --upgrade pip \
|
||||
&& pip install --no-cache-dir -r requirements.txt \
|
||||
&& useradd -m -u 1000 rudi \
|
||||
&& chown -R rudi:rudi /app
|
||||
|
||||
Reference in New Issue
Block a user