Add
This commit is contained in:
parent
0082040b89
commit
2f9826b086
|
|
@ -41,8 +41,16 @@ services:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: ./docker/php/Dockerfile
|
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:
|
volumes:
|
||||||
- ./:/var/www/html:rw
|
- ./:/var/www/html:rw
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- mariadb
|
- mariadb
|
||||||
networks:
|
networks:
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@ rm -rf node_modules package-lock.json
|
||||||
|
|
||||||
# ۵. نصب پکیجهای NPM و بیلد فرانتاند
|
# ۵. نصب پکیجهای NPM و بیلد فرانتاند
|
||||||
echo "[+] Installing NPM dependencies..."
|
echo "[+] Installing NPM dependencies..."
|
||||||
|
npm config set registry ${NPM_REGISTRY}
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
echo "[+] Building frontend assets..."
|
echo "[+] Building frontend assets..."
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user