build.sh 447 B

12345678910111213141516171819202122
  1. #!/usr/bin/env bash
  2. # build and deploy
  3. #podman build \
  4. # --rm \
  5. # -it \
  6. # -v "$PWD:/srv/jekyll" \
  7. # -v "$PWD/vendor/bundle:/usr/local/bundle" \
  8. # -u 1000:1001 \
  9. # jekyll:latest \
  10. # bundle update
  11. podman build -t atomjekylltemp .
  12. podman run \
  13. --rm \
  14. -it \
  15. -p 4000:4000 \
  16. -v "$PWD:/srv/jekyll" \
  17. -v "$PWD/vendor/bundle:/usr/local/bundle" \
  18. localhost/atomjekylltemp
  19. #podman rmi localhost/atomjekylltemp