Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Use an image
- FROM yiisoftware/yii2-php:5.6-fpm-17.12.0
- WORKDIR .
- RUN mkdir -p /var/www/my_site
- COPY . /var/www/my_site
- # Make port 80 available to the world outside this container
- EXPOSE 80
- # Define environment variable
- ENV YII_DEBUG true
- ENV YII_ENV dev
- # Run app.py when the container launches
- CMD ["php", "yii"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement