Skip to content
Snippets Groups Projects
Commit 228c2e20 authored by Tibo's avatar Tibo
Browse files

clear cache

parent d2e36d13
No related branches found
No related tags found
Loading
Pipeline #4380 passed
......@@ -50,11 +50,14 @@ RUN chown -R www-data:www-data /var/www/html/storage \
# copy env file for our Docker image
COPY env.docker /var/www/html/.env
## optimize config and create sqlite db structure
# create sqlite db structure
RUN mkdir -p storage/app \
&& touch storage/app/db.sqlite \
&& php artisan migrate
# clear config cache
RUN php artisan config:clear
### Docker image metadata
VOLUME ["/var/www/html/storage", "/var/www/html/bootstrap/cache"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment