This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(startup): update docker entrypoint so we can mount EFS volumes fo…
…r warp-cache on startup
- Loading branch information
dtfiedler
committed
Jan 16, 2024
1 parent
2b5e1f0
commit 35ce108
Showing
3 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
# Check and set permissions if necessary | ||
if [ -d "/usr/src/app/cache" ]; then | ||
chown -R node:node /usr/src/app/cache | ||
chmod -R 755 /usr/src/app/cache | ||
fi | ||
|
||
# run the app | ||
exec /nodejs/bin/node /usr/src/app/dist/app.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters