Compare commits

..

3 Commits

3 changed files with 6 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y git php-cli sudo curl
# Cache Node Dependencies # Cache Node Dependencies
RUN mkdir -p /var/www/api RUN mkdir -p /var/www/api
WORKDIR /var/www/api WORKDIR /var/www/api
RUN echo '{ "dependencies": { "express": "" } }' > package.json RUN echo '{ "dependencies": { "express": ">=4.18.1 < 5.0.0" } }' > package.json
RUN npm install RUN npm install
# Install + Run Website # Install + Run Website

View File

@@ -24,8 +24,10 @@ echo -e "\n`date` - Take down services for a cold backup."
manage.sh -d manage.sh -d
echo -e "\n`date` - Create the backup for '$DOCKER_HOME'." echo -e "\n`date` - Create the backup for '$DOCKER_HOME'."
cd $DOCKER_HOME $time zip -r $file.tmp \
$time zip -r $file.tmp . 1>/dev/null $DOCKER_HOME \
/etc/crontab /etc/cron.d /var/spool/cron \
/var/{log,mail} 1>/dev/null
mv -v $file.tmp $file mv -v $file.tmp $file
echo -e "\n`date` - Done with zipping, check size." echo -e "\n`date` - Done with zipping, check size."

View File

@@ -130,7 +130,7 @@ fi
if [[ -z $up && -z $down && -z $build && -z $pull && -z $clean if [[ -z $up && -z $down && -z $build && -z $pull && -z $clean
&& -z $interact && -z $logs && -z $stats && -z $interact && -z $logs && -z $stats
]]; then ]]; then
docker ps docker ps --size
exit 0 exit 0
fi fi