mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-21 05:24:17 +00:00
23 lines
707 B
Docker
23 lines
707 B
Docker
FROM php:7
|
|
<<<<<<< HEAD
|
|
|
|
WORKDIR /app
|
|
COPY . /app
|
|
|
|
RUN apt-get update -y && apt-get install -y openssl zip unzip git
|
|
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
|
RUN docker-php-ext-install pdo pdo_mysql
|
|
RUN composer install
|
|
CMD php artisan serve --host=0.0.0.0 --port=8000
|
|
EXPOSE 8000
|
|
=======
|
|
RUN apt-get update -y && apt-get install -y openssl zip unzip git netcat
|
|
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
|
RUN docker-php-ext-install pdo pdo_mysql
|
|
WORKDIR /app
|
|
COPY . /app
|
|
RUN composer update
|
|
ADD start.sh /start.sh
|
|
CMD ["/start.sh"]
|
|
>>>>>>> 47c12e5e97af74f362bd15035d51420c4d9dd4ae
|