TODOList-Laravel / Dockerfile
Anuj-Panthri's picture
added permissions for database
a3bcfe0
raw
history blame contribute delete
351 Bytes
FROM composer
EXPOSE 8000
COPY ./ /app
WORKDIR /app
RUN cp .env.example .env;
RUN composer install;
RUN php artisan key:generate;
RUN php artisan migrate --force;
RUN ls -lh
# RUN chmod -R 777 public
RUN chmod -R 777 storage
RUN chmod -R 777 database
RUN chmod -R 777 bootstrap/cache
RUN ls -lh
CMD php artisan serve --host 0.0.0.0 --port 8000