Rebuild v1 on patched base image and add security gates (#24)
Scrap-Web/pipeline/head Something is wrong with the build of this commit
Scrap-Web/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
@@ -6,6 +6,8 @@ WORKDIR /app
|
||||
COPY requirements.txt .
|
||||
# Exact, hash-checked dependency versions (direct + transitive) from requirements.txt
|
||||
RUN pip install --no-cache-dir --require-hashes -r requirements.txt
|
||||
RUN apt-get update && apt-get install -y --only-upgrade zlib1g && rm -rf /var/lib/apt/lists/* \
|
||||
&& pip uninstall -y pip setuptools
|
||||
COPY app.py .
|
||||
USER 10001:10001
|
||||
EXPOSE 8000
|
||||
|
||||
Reference in New Issue
Block a user