cartman/api/build
2023-03-02 02:12:02 -05:00

11 lines
275 B
Bash
Executable file

#!/bin/bash
FILE_PATH="../chatbots_api_$(uname -m).tar.gz"
if [ -f $FILE_PATH ]; then
rm $FILE_PATH
fi
#python -m nuitka --include-module=src --follow-imports --enable-plugin=torch main.py
docker build --tag chatbots_api .
docker save chatbots_api | pigz > $FILE_PATH