Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. FROM richarvey/nginx-php-fpm
  2.  
  3. RUN apk update && \
  4. apk add --no-cache libpng libpng-dev
  5.  
  6. RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
  7. RUN docker-php-ext-install pdo mbstring pcntl gd zip pdo_mysql
  8.  
  9. WORKDIR /inovace-server
  10. COPY . /inovace-server
  11. COPY ./default.conf /etc/nginx/sites-available/default.conf
  12.  
  13. RUN composer install
  14. RUN chmod -R 777 /inovace-server
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement