Update script

This commit is contained in:
Gabriel Brown 2025-03-31 14:52:46 -05:00
parent ff4f91f590
commit e0e2c39243
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ services:
context: ../../
dockerfile: docker/development/Dockerfile
image: with-docker-multi-env-development
container_name: gib_portfolio
container_name: gbrown_website
networks:
- node_apps
ports:

View File

@ -1,7 +1,7 @@
git pull
mv ~/Documents/Web/gib_portfolio/next.config.js ~/Documents/Web/gib_portfolio/scripts/next.config.default.js
cp ~/Documents/Web/gib_portfolio/scripts/next.config.build.js ~/Documents/Web/gib_portfolio/next.config.js
mv ./next.config.js ./scripts/next.config.default.js
cp ./scripts/next.config.build.js ./next.config.js
sudo docker compose -f docker/development/compose.yaml down
sudo docker compose -f docker/development/compose.yaml build
sudo docker compose -f docker/development/compose.yaml up -d
cp ~/Documents/Web/gib_portfolio/scripts/next.config.default.js ~/Documents/Web/gib_portfolio/next.config.js
cp ./scripts/next.config.default.js ./next.config.js