update docker

This commit is contained in:
Amirhossein Mahmoodi
2024-11-13 15:13:09 +03:30
parent 559da5acf1
commit 749369f10b
2 changed files with 7 additions and 8 deletions

3
.gitignore vendored
View File

@@ -33,5 +33,4 @@ cypress/screenshots
package-lock.json
ecosystem.config.js
packages*.tar.gz
codes*.bundle
/versions

View File

@@ -4,4 +4,4 @@ services:
volumes:
- .:/var/www/app
- /var/www/app/node_modules
command: sh -c "cd /var/www/app && tar -czvf packages_$(date +%Y_%m_%d).tar.gz node_modules"
command: sh -c "cd /var/www/app && tar -czvf rms_v3_$(date +%Y_%m_%d).tar.gz node_modules"