Im adding the theme Im developing using the volumes like in the below example.
volumes:
- ./data:/data
- ./code/stokpress:/app/wp-content/themes/stokpress
But when I run the docker-compose up command the theme gets removed in Checking themes step. Since the theme is not published or available on an external domain im not able to add it in the THEMES part. This is when Im starting from a clean database where the theme has never ben activated.
This is the output during the installation:
wordpress_1 | ==> Checking themes
wordpress_1 | Warning: Ignoring ambiguous empty slug value.
wordpress_1 | Success: Theme already installed.
wordpress_1 | Deleted 'stokpress/resources' theme.
wordpress_1 | Success: Deleted 1 of 1 themes.
The theme is built on the Sage 9 starter theme from Roots.it and that makes the theme name listed like this using wp cli:
admin@b7d504259eb0:/app$ wp theme list
+-------------------+----------+--------+---------+
| name | status | update | version |
+-------------------+----------+--------+---------+
| stokpress/resources | inactive | none | 9.0.9 |
+-------------------+----------+--------+---------+
Im adding the theme Im developing using the volumes like in the below example.
But when I run the docker-compose up command the theme gets removed in Checking themes step. Since the theme is not published or available on an external domain im not able to add it in the THEMES part. This is when Im starting from a clean database where the theme has never ben activated.
This is the output during the installation:
The theme is built on the Sage 9 starter theme from Roots.it and that makes the theme name listed like this using wp cli: