Files
izyim-api/docker/mysql/Dockerfile
T
Zain Fauzan Rofie Azizi e866d7eb0d replaced dockerfile
2018-07-02 11:15:02 +08:00

12 lines
359 B
Docker

FROM php:7
RUN apt-get update -y && apt-get install -y openssl zip unzip git netcat libpng-dev
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN docker-php-ext-install pdo pdo_mysql
RUN docker-php-ext-install gd
WORKDIR /app
COPY . /app
RUN composer update
ADD start.sh /start.sh
CMD ["/start.sh"]