mirror of
https://gitee.com/celaraze/chemex.git
synced 2024-11-29 17:58:10 +08:00
17 lines
578 B
Docker
Executable File
17 lines
578 B
Docker
Executable File
FROM celaraze/laravel-docker:latest
|
|
|
|
RUN git clone --recursive https://gitee.com/celaraze/chemex.git /var/www/html/laravel
|
|
COPY .env.docker /var/www/html/laravel/.env
|
|
WORKDIR /var/www/html/laravel
|
|
# RUN composer config -g repo.packagist composer https://packagist.phpcomposer.com
|
|
RUN composer install -vvv
|
|
|
|
RUN chown -R www-data:www-data /var/www/html/laravel && \
|
|
chmod -R 755 /var/www/html/laravel && \
|
|
chmod -R 777 /var/www/html/laravel/storage
|
|
|
|
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
|
RUN chmod +x /docker-entrypoint.sh
|
|
|
|
entrypoint ["/docker-entrypoint.sh"]
|