Add
This commit is contained in:
parent
0082040b89
commit
2f9826b086
|
|
@ -41,8 +41,16 @@ services:
|
|||
build:
|
||||
context: .
|
||||
dockerfile: ./docker/php/Dockerfile
|
||||
args:
|
||||
# اینجا میتوانید آدرس Nexus داخلی سرور خود را بدهید
|
||||
- COMPOSER_REGISTRY=http://192.168.1.201:8081/repository/composer-runflare/
|
||||
- LINUX_REGISTRY=http://192.168.1.201:8081/repository/debian-arvan
|
||||
- SECURITY_REGISTRY=http://192.168.1.201:8081/repository/debian-arvan-security
|
||||
- NPM_REGISTRY=http://192.168.1.201:8081/repository/npm-group/
|
||||
- NODE_REGISTRY=http://192.168.1.201:8081/repository/node-dist
|
||||
volumes:
|
||||
- ./:/var/www/html:rw
|
||||
|
||||
depends_on:
|
||||
- mariadb
|
||||
networks:
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ rm -rf node_modules package-lock.json
|
|||
|
||||
# ۵. نصب پکیجهای NPM و بیلد فرانتاند
|
||||
echo "[+] Installing NPM dependencies..."
|
||||
npm config set registry ${NPM_REGISTRY}
|
||||
npm install
|
||||
|
||||
echo "[+] Building frontend assets..."
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user