entrypoint.sh 221 B

1234567891011
  1. #!/bin/bash
  2. set -e
  3. set -o pipefail
  4. mkdir -p /data/ecom/{fsync164,resin8080,resin9090} /data/ecom/cif/data /data/ecom/cdp
  5. tar -zxf /tmp/cif164.tgz -C /data/ecom/
  6. rm -rf /tmp/*
  7. chown -R ecom:ecom /app /data
  8. exec "$@"