Added a deploy script

This commit is contained in:
2022-07-07 14:13:23 +02:00
parent 399a4d3adf
commit eb8133f1a7
Executable
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
set -eux
CONTAINER_NAME="phc/storage"
git pull
docker build -t "$CONTAINER_NAME" .
docker run --rm -d -p 4000:4000 "$CONTAINER_NAME"