linux 228 B

12345678910111213
  1. #!/bin/bash
  2. set -ex
  3. ./script/clean
  4. TAG="docker-compose"
  5. docker build -t "$TAG" .
  6. docker run \
  7. --rm --entrypoint="script/build/linux-entrypoint" \
  8. -v $(pwd)/dist:/code/dist \
  9. -v $(pwd)/.git:/code/.git \
  10. "$TAG"