mirror of
				https://ceregatti.org/git/daniel/dayzdockerserver.git
				synced 2025-10-31 13:33:31 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			322 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			322 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/usr/bin/env bash
 | |
| 
 | |
| # Set PS1 so we know we're in the container
 | |
| if ! [ -f .bashrc ]
 | |
| then
 | |
| 	echo "Creating .bashrc..."
 | |
| 	cat > .bashrc <<EOF
 | |
| alias ls='ls --color'
 | |
| export PS1="${debian_chroot:+($debian_chroot)}\u@dz-web:\w\$ "
 | |
| EOF
 | |
| fi
 | |
| 
 | |
| cd /web
 | |
| npm i
 | |
| export DEBUG='express:*'
 | |
| npx nodemon web.js &
 | |
| 
 | |
| cd docroot
 | |
| npm i
 | |
| npm run dev
 | 
