I tried to put my website into Production mode.
For this, I used the following command on SSH but it get stuck.
php bin/magento deploy:mode:set production
Please refer to the following screenshot.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
Please try following command to skip compilation, so you can directly set production mode without any compilation or static content deploy.
php bin/magento deploy:mode:set production --skip-compilation