Skip to content

Commit

Permalink
Fix permissions on directories
Browse files Browse the repository at this point in the history
  • Loading branch information
raswaters committed Sep 24, 2024
1 parent 41df536 commit f83e52c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lambda/JobPredict/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ RUN yum update -y java-1.8.0-openjdk
RUN python3.11 -m pip install --upgrade pip && python3.11 -m pip install -r requirements.txt && python3.11 -m pip install tensorflow-cpu==2.12.1
ADD models ./models/
RUN chmod -R ugo+r ./models/
RUN find ./models/ -type d -exec chmod og+x {} +
CMD ["predict_handler.lambda_handler"]
3 changes: 2 additions & 1 deletion terraform/deploy_checkout_repos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@ then
fi

chmod -R og+r ${TMP_INSTALL_DIR}
find ${TMP_INSTALL_DIR} -type d -exec chmod og+x {} +

cd $cwd
cd $cwd

0 comments on commit f83e52c

Please sign in to comment.