Add docker scripts

This commit is contained in:
Illya Marchenko 2021-10-17 00:01:27 +03:00
parent 53b654d123
commit 56acb44c2a
4 changed files with 20 additions and 0 deletions

3
docker-bash.sh Executable file

@ -0,0 +1,3 @@
#/bin/bash
docker exec --user 0 -it unrealircd /bin/bash

5
docker-build.sh Executable file

@ -0,0 +1,5 @@
#/bin/bash
docker build . \
--file Dockerfile \
--tag unrealircd:latest

3
docker-rm.sh Executable file

@ -0,0 +1,3 @@
#/bin/bash
docker rm -f unrealircd

9
docker-run.sh Executable file

@ -0,0 +1,9 @@
#/bin/bash
docker run -d -it \
-p 127.0.0.1:6900:6900 \
-p 127.0.0.1:6697:6697 \
-p 127.0.0.1:6667:6667 \
-v /${PWD}/conf/:/app/conf \
--name unrealircd \
unrealircd:latest