NOTES

scripts

Need these exports so pip process will find the libraries for OpenFST

export LDFLAGS=-L/usr/local/lib
export CPPFLAGS=-I/usr/local/include/
pip install nemo_toolkit[all] torch transformers pytorch_lightning
pip install nemo_toolkit[all] torch transformers pytorch_lightning
# BUILD
docker build -t main .

# docker run -it main sh

docker run -it --rm --name my-running-app main

# deploy the image to GCP
gcloud config set project centifichomework
gcloud run deploy centific-homework --port 8080 --source .