Skip to content

Commit

Permalink
copied key to statically hosted directory
Browse files Browse the repository at this point in the history
  • Loading branch information
nedvedba committed Apr 16, 2024
1 parent b4dd29d commit 93586b2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions web/docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ then
su -c "mkdir -p ${log_path}" datafed
fi

if [ ! -f "${DATAFED_INSTALL_PATH}/keys/datafed-core-key.pub" ]
then
echo "datafed-core-key.pub not found"
exit 1
fi
cp "${DATAFED_INSTALL_PATH}/keys/datafed-core-key.pub" "${BUILD_DIR}/web/static"

if [ "$#" -eq 0 ]; then
echo "No arguments were passed, running bash"
exec "bash"
Expand Down

0 comments on commit 93586b2

Please sign in to comment.