Baphomet is the dedicated bot for nulloctet matrix
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
418 B

  1. #!/usr/bin/env bash
  2. DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
  3. pushd "${DIR}/.."
  4. CONTAINER_NAME=baphomet-dev
  5. IMAGE_NAME=baphomet-js
  6. IMAGE_TAG=dev
  7. IMAGE_BUILD_DIR=.
  8. docker build -t ${IMAGE_NAME}:${IMAGE_TAG} ${IMAGE_BUILD_DIR}
  9. docker rm ${CONTAINER_NAME}
  10. docker run -it \
  11. -e NODE_ENV=development \
  12. -e LOG_LEVEL=debug \
  13. --name ${CONTAINER_NAME} \
  14. ${IMAGE_NAME}:${IMAGE_TAG}
  15. popd