13 lines
234 B
Bash
Executable File
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" |