SHARE
TWEET

dockfile

someinternetuser Mar 9th, 2019 152 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Use an image
  2. FROM yiisoftware/yii2-php:5.6-fpm-17.12.0
  3.  
  4. WORKDIR .
  5.  
  6. RUN mkdir -p /var/www/my_site
  7.  
  8. COPY . /var/www/my_site
  9.  
  10. # Make port 80 available to the world outside this container
  11. EXPOSE 80
  12.  
  13. # Define environment variable
  14. ENV YII_DEBUG true
  15. ENV YII_ENV dev
  16.  
  17. # Run app.py when the container launches
  18. CMD ["php", "yii"]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top