mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 12:24:09 +00:00
10 lines
345 B
Docker
10 lines
345 B
Docker
FROM php:7
|
|
RUN apt-get update -y && apt-get install -y openssl zip unzip git zlib1g-dev
|
|
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
|
RUN docker-php-ext-install pdo pdo_mysql zip
|
|
WORKDIR /app
|
|
COPY . /app
|
|
RUN composer install
|
|
CMD php artisan serve --host=0.0.0.0 --port=8000
|
|
EXPOSE 8000
|