Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. FROM php:7-apache
  2.  
  3. RUN sed -i 's/80/${PORT}/g' /etc/apache2/sites-available/000-default.conf /etc/apache2/ports.conf
  4. RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
  5.  
  6. COPY . /var/www/html
  7. RUN chown -R www-data:www-data /var/www/html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement