Files
OpenPipe-llm/app/scripts/test-docker.sh
2023-08-18 13:01:01 -07:00

13 lines
234 B
Bash
Executable File

#! /bin/bash
set -e
cd "$(dirname "$0")/../.."
echo "Env is"
echo $ENVIRONMENT
docker build . --file app/Dockerfile --tag "openpipe-prod"
# Run the image
docker run --env-file app/.env -it --entrypoint "/bin/bash" "openpipe-prod"