Enhance output when starting Hyperling.com.
This commit is contained in:
@@ -18,11 +18,14 @@ RUN npm install
|
|||||||
CMD cd /var/www/api && \
|
CMD cd /var/www/api && \
|
||||||
echo "Ensure symlink is properly deleted if it exists..." && \
|
echo "Ensure symlink is properly deleted if it exists..." && \
|
||||||
ls -l website/files; rm -v website/files; sleep 0 && \
|
ls -l website/files; rm -v website/files; sleep 0 && \
|
||||||
|
echo "Clone the website's Git repo..." && \
|
||||||
rm -rfv website && \
|
rm -rfv website && \
|
||||||
git clone https://git.hyperling.com/me/nodejs-website --branch=dev website && \
|
git clone https://git.hyperling.com/me/nodejs-website --branch=dev website && \
|
||||||
|
echo "Remove dummy files and replace with symlink..." && \
|
||||||
rm -rfv website/files && \
|
rm -rfv website/files && \
|
||||||
cd website && \
|
cd website && \
|
||||||
ln -sv ../files ./files && \
|
ln -sv ../files ./files && \
|
||||||
|
echo "Allow files under files/ to be ignored by Git..." && \
|
||||||
find ./files -exec git update-index --assume-unchanged {} \; && \
|
find ./files -exec git update-index --assume-unchanged {} \; && \
|
||||||
echo "Starting Website" && \
|
echo "Start website!" && \
|
||||||
./run.sh
|
./run.sh
|
||||||
|
Reference in New Issue
Block a user