This commit is contained in:
parent
21f65dd2d2
commit
0e5de319d6
@ -30,15 +30,7 @@ RUN composer install --no-interaction --prefer-dist --optimize-autoloader
|
||||
# Create storage folders (in case they don't exist)
|
||||
RUN mkdir -p storage/framework/{cache,sessions,views} bootstrap/cache
|
||||
|
||||
# Generate Laravel app key
|
||||
RUN php artisan key:generate
|
||||
|
||||
# Set permissions
|
||||
RUN chown -R www-data:www-data /var/www \
|
||||
&& chmod -R 775 storage bootstrap/cache \
|
||||
&& chown -R www-data:www-data storage bootstrap/cache
|
||||
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
EXPOSE 9000
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user