Szakdolgozat/deploy-backend.sh
NorbiPeti e4ff4f5acf
Get page title from routes, including for menu items
- Fixed the user always being set to root instead of node because of the $USERNAME variable
2022-01-20 17:56:29 +01:00

5 lines
168 B
Bash
Executable file

#!/bin/bash
cd backend || exit
docker-compose build backend
SZD_USERNAME="0" docker-compose run -e COMMAND=deploy -v /var/run/docker.sock:/var/run/docker.sock backend