ADD read-only flag to run script and ADD gitignore to source dir
This commit is contained in:
parent
08f5d34079
commit
cc6f03d27b
2 changed files with 6 additions and 1 deletions
|
@ -46,6 +46,7 @@ echo "Starting container..."
|
|||
$CONTAINER_CMD run --name ${CONTAINER_NAME} \
|
||||
-p 8000:8000 \
|
||||
-v "$SOURCE_DIR":/home/appuser/app/source${VOLUME_FLAG} \
|
||||
--read-only \
|
||||
--security-opt no-new-privileges:true \
|
||||
--cap-drop ALL \
|
||||
--user 1000:1000 \
|
||||
|
|
4
source/.gitignore
vendored
Normal file
4
source/.gitignore
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
Loading…
Add table
Add a link
Reference in a new issue