cartman/api/build

12 lines
275 B
Text
Raw Permalink Normal View History

2023-02-10 11:02:22 -05:00
#!/bin/bash
2023-02-12 20:14:11 -05:00
FILE_PATH="../chatbots_api_$(uname -m).tar.gz"
if [ -f $FILE_PATH ]; then
rm $FILE_PATH
fi
2023-03-02 02:12:02 -05:00
#python -m nuitka --include-module=src --follow-imports --enable-plugin=torch main.py
2023-02-11 16:13:23 -05:00
docker build --tag chatbots_api .
2023-02-12 20:14:11 -05:00
docker save chatbots_api | pigz > $FILE_PATH