mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-16 04:16:24 +00:00
10 lines
324 B
Bash
10 lines
324 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
# Copy node_modules if it doesn't exist
|
||
|
if [ ! -f "/usr/src/frontend/node_modules" ]; then
|
||
|
echo "Looks like the first run of this container. Node modules were not detected on the attached volume, copying them into the attached volume."
|
||
|
cp -R /tmp/node_modules /usr/src/frontend/node_modules
|
||
|
fi
|
||
|
|
||
|
exec "$@"
|