Dockerfile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. #
  2. # FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
  3. # Copyright (C) 2005-2016, Anthony Minessale II <anthm@freeswitch.org>
  4. #
  5. # Version: MPL 1.1
  6. #
  7. # The contents of this file are subject to the Mozilla Public License Version
  8. # 1.1 (the "License"); you may not use this file except in compliance with
  9. # the License. You may obtain a copy of the License at
  10. # http://www.mozilla.org/MPL/F
  11. #
  12. # Software distributed under the License is distributed on an "AS IS" basis,
  13. # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  14. # for the specific language governing rights and limitations under the
  15. # License.
  16. #
  17. # The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
  18. #
  19. # The Initial Developer of the Original Code is
  20. # Michael Jerris <mike@jerris.com>
  21. # Portions created by the Initial Developer are Copyright (C)
  22. # the Initial Developer. All Rights Reserved.
  23. #
  24. # Contributor(s):
  25. #
  26. # Sergey Safarov <s.safarov@gmail.com>
  27. #
  28. FROM scratch
  29. ADD freeswitch_img.tar.gz /
  30. COPY docker-entrypoint.sh healthcheck.sh sounds_version.txt /
  31. HEALTHCHECK --interval=15s --timeout=5s \
  32. CMD /healthcheck.sh
  33. ENTRYPOINT ["/docker-entrypoint.sh"]