mirror of
https://github.com/m1k1o/neko-rooms.git
synced 2026-11-02 22:51:34 -06:00
initial commit.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
docker build -t neko_rooms_img ..
|
||||
|
||||
./rebuild
|
||||
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
docker run -it \
|
||||
--name "neko_rooms_dev" \
|
||||
--entrypoint="go" \
|
||||
--volume "${PWD}/../:/app" \
|
||||
neko_rooms_img "$@";
|
||||
|
||||
#
|
||||
# commit changes to image
|
||||
docker commit "neko_rooms_dev" "neko_rooms_img"
|
||||
|
||||
#
|
||||
# remove contianer
|
||||
docker rm "neko_rooms_dev"
|
||||
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
set -e
|
||||
|
||||
docker run --rm -it \
|
||||
-v "${PWD}/../:/app" \
|
||||
--entrypoint="/app/build" \
|
||||
neko_rooms_img;
|
||||
|
||||
./start
|
||||
Reference in New Issue
Block a user