chore(docker) update Dockerfile
This commit is contained in:
parent
bced142657
commit
432db15386
@ -24,9 +24,10 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local
|
|||||||
RUN composer update && composer install
|
RUN composer update && composer install
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
|
|
||||||
# Set Laravel's permissions, though this could be done in the COPY command directly
|
# Set Laravel's permissions and setup storage, though this could be done in the COPY command directly
|
||||||
RUN chown -R www-data:www-data /var/www/html/storage
|
RUN chown -R www-data:www-data .
|
||||||
RUN chmod -R 755 /var/www/html/storage
|
RUN chmod -R 755 /var/www/html/storage
|
||||||
|
RUN php artisan storage:link
|
||||||
|
|
||||||
|
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
Loading…
x
Reference in New Issue
Block a user