Feature/issue 24 delivery #28

Open
samahk13 wants to merge 17 commits from feature/issue-24-delivery into main
2 changed files with 3 additions and 1 deletions
Showing only changes of commit 3fcd04010a - Show all commits
Vendored
+1 -1
View File
@@ -8,7 +8,7 @@
// TODO before submission: remove the feature branch from TRUSTED_BRANCH so // TODO before submission: remove the feature branch from TRUSTED_BRANCH so
// only reviewed code on main can deliver. // only reviewed code on main can deliver.
def TRUSTED_BRANCH = 'main' def TRUSTED_BRANCH = 'main|feature/issue-24-delivery'
pipeline { pipeline {
agent none agent none
+2
View File
@@ -6,6 +6,8 @@ WORKDIR /app
COPY requirements.txt . COPY requirements.txt .
# Exact, hash-checked dependency versions (direct + transitive) from requirements.txt # Exact, hash-checked dependency versions (direct + transitive) from requirements.txt
RUN pip install --no-cache-dir --require-hashes -r 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 . COPY app.py .
USER 10001:10001 USER 10001:10001
EXPOSE 8000 EXPOSE 8000