mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-21 21:44:18 +00:00
3c1f2c522d
# Conflicts: # Dockerfile # app/Company.php # app/Http/Controllers/CompanyController.php # app/Http/Kernel.php # app/User.php # composer.json # composer.lock # config/app.php # package-lock.json # routes/api.php # tests/TestCase.php
17 lines
386 B
Docker
17 lines
386 B
Docker
FROM php:7
|
|
|
|
|
|
WORKDIR /app
|
|
COPY . /app
|
|
|
|
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"]
|