Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
10 lines (10 loc) · 433 Bytes

File metadata and controls

10 lines (10 loc) · 433 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
set -e
# This iterates any sh file in the directory and executes them before our server starts
# Note: we intentionally source the files, allowing scripts to set vars that override default behavior.
if [ -d "/etc/docker-entrypoint.d" ]; then
while IFS= read -r -d $'\0' file; do
. "$file"
done < <(find /etc/docker-entrypoint.d -maxdepth 1 -name '*.sh' -type f -print0)
fi
exec node /usr/app/server.js $@
Morty Proxy This is a proxified and sanitized view of the page, visit original site.