cartman/api/build
2023-02-12 20:14:11 -05:00

11 lines
190 B
Bash
Executable file

#!/bin/bash
FILE_PATH="../chatbots_api_$(uname -m).tar.gz"
if [ -f $FILE_PATH ]; then
rm $FILE_PATH
fi
docker build --tag chatbots_api .
docker save chatbots_api | pigz > $FILE_PATH