Dockerfile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #
  2. #--------------------------------------------------------------------------
  3. # Image Setup
  4. #--------------------------------------------------------------------------
  5. #
  6. # To take a look at the'php-worker' base Image, visit its DockerHub page
  7. # https://hub.docker.com/r/nielsvdoorn/laravel-supervisor/
  8. #
  9. FROM nielsvdoorn/laravel-supervisor
  10. #
  11. #--------------------------------------------------------------------------
  12. # Optional Supervisord Configuration
  13. #--------------------------------------------------------------------------
  14. #
  15. # Modify the ./supervisor.conf file to match your App's requirements.
  16. # Make sure you rebuild your container with every change.
  17. #
  18. COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
  19. #
  20. #--------------------------------------------------------------------------
  21. # Optional Software's Installation
  22. #--------------------------------------------------------------------------
  23. #
  24. # If you need to modify this image, feel free to do it right here.
  25. #
  26. # -- Your awesome modifications go here -- #
  27. #
  28. #--------------------------------------------------------------------------
  29. # Final Touch
  30. #--------------------------------------------------------------------------
  31. #
  32. RUN rm -r /var/lib/apt/lists/*
  33. WORKDIR /etc/supervisor/conf.d/supervisord.conf