Skip to content

Commit ef2a2a7

Browse files
Security/container build (#549)
* upd dockerfile to google distroless * add pipelines * add modifications to container * upd to build * add missing arg * add arg for major/minor/patch python version * upd python paths and pip install * add perms to /app for user * chg back to root * rmv python3 * rmv not built python * add shared * add path and home * upd for stdlib paths * fix user input filesystem path vulns * fix to consecutive dots --------- Co-authored-by: Bionic711 <nadoyle@microsoft.com>
1 parent f7afced commit ef2a2a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

application/single_app/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,5 @@ EXPOSE 5000
9494

9595
USER 65532:65532
9696

97-
ENTRYPOINT ["/app/venv/bin/python", "-c", "import runpy; runpy.run_path('/app/app.py', run_name='__main__')"]
97+
98+
ENTRYPOINT ["/app/venv/bin/python", "-c", "import runpy; runpy.run_path('/app/app.py', run_name='__main__')"]

0 commit comments

Comments
 (0)