Files
izyim-api/Dockerfile
T
jack b166712039 added vendor to dockerignore
added doctrine for renaming database column
changed email to phone number
added confirm_password upon signup
2018-04-25 17:44:18 +08:00

9 lines
328 B
Docker

FROM php:7
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
WORKDIR /app
COPY . /app
RUN composer update
CMD php artisan serve --host=0.0.0.0 --port=8000
EXPOSE 8000