12 lines
228 B
Bash
12 lines
228 B
Bash
|
#!/bin/bash
|
||
|
echo "Creating vanilla predeploy!"
|
||
|
# Set path correclty
|
||
|
if [[ $PWD == *"dist" ]];
|
||
|
then cd ..
|
||
|
fi
|
||
|
# Install node dependencies
|
||
|
echo "Installing node depencencies!"
|
||
|
npm i
|
||
|
echo "Building Docker Image!"
|
||
|
npm run build:all
|