build(docker): add Dockerfile
This commit is contained in:
5
scripts/build
Executable file
5
scripts/build
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
cd "$(dirname $(dirname "$0"))" || exit
|
||||
|
||||
docker build -t shmyga/weather .
|
||||
8
scripts/publish
Executable file
8
scripts/publish
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
cd "$(dirname $(dirname "$0"))" || exit
|
||||
|
||||
IMAGE_NAME=shmyga/weather
|
||||
|
||||
docker tag $IMAGE_NAME instreamatic.com:8083/$IMAGE_NAME
|
||||
docker push instreamatic.com:8083/$IMAGE_NAME
|
||||
5
scripts/run
Executable file
5
scripts/run
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
cd "$(dirname $(dirname "$0"))" || exit
|
||||
|
||||
docker run --rm -p 8000:80 shmyga/weather
|
||||
Reference in New Issue
Block a user