2018-01-17 16:50:45 +00:00
|
|
|
|
|
|
|
CONTAINER_ID="$(docker ps -lq)"
|
2018-02-23 16:33:00 +00:00
|
|
|
LOG_PATH=$(readlink -f './log')
|
2018-01-17 16:50:45 +00:00
|
|
|
docker stop ${CONTAINER_ID}
|
|
|
|
docker build -t autobounty .
|
2018-02-23 16:33:00 +00:00
|
|
|
docker run -d --mount source=$LOG_PATH,target=/usr/src/app/log -p 8080:8080 autobounty
|
|
|
|
docker run -d -v ${LOG_PATH}:/usr/src/app/log -p 8080:8080 autobounty &
|