Nextcloud, Hyperling.com, LibreTranslate, and backup.sh
Enhancements
#11
@@ -16,10 +16,13 @@ RUN npm install
|
|||||||
|
|
||||||
# Install + Run Website
|
# Install + Run Website
|
||||||
CMD cd /var/www/api && \
|
CMD cd /var/www/api && \
|
||||||
rm -rfv pages main.js run.sh && \
|
echo "Ensure symlink is properly deleted if it exists..." && \
|
||||||
git clone https://git.hyperling.com/me/nodejs-website website && \
|
ls -l website/files; rm -v website/files; sleep 0 && \
|
||||||
rm -rfv website/files && \
|
|
||||||
mv -v website/* ./ && \
|
|
||||||
rm -rfv website && \
|
rm -rfv website && \
|
||||||
echo "Starting Website's Run Script" && \
|
git clone https://git.hyperling.com/me/nodejs-website --branch=dev website && \
|
||||||
|
rm -rfv website/files && \
|
||||||
|
cd website && \
|
||||||
|
ln -sv ../files ./files && \
|
||||||
|
find ./files -exec git update-index --assume-unchanged {} \; && \
|
||||||
|
echo "Starting Website" && \
|
||||||
./run.sh
|
./run.sh
|
||||||
|
Reference in New Issue
Block a user