Add a CLI container for running composer and phinx while developing.

This commit is contained in:
Dave Smith-Hayes 2024-11-08 12:40:46 -05:00
parent 82735d41fd
commit fc0d816062
3 changed files with 18 additions and 9 deletions

16
app/composer.lock generated
View File

@ -3926,16 +3926,16 @@
},
{
"name": "twig/twig",
"version": "v3.14.1",
"version": "v3.14.2",
"source": {
"type": "git",
"url": "https://github.com/twigphp/Twig.git",
"reference": "f405356d20fb43603bcadc8b09bfb676cb04a379"
"reference": "0b6f9d8370bb3b7f1ce5313ed8feb0fafd6e399a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/f405356d20fb43603bcadc8b09bfb676cb04a379",
"reference": "f405356d20fb43603bcadc8b09bfb676cb04a379",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/0b6f9d8370bb3b7f1ce5313ed8feb0fafd6e399a",
"reference": "0b6f9d8370bb3b7f1ce5313ed8feb0fafd6e399a",
"shasum": ""
},
"require": {
@ -3989,7 +3989,7 @@
],
"support": {
"issues": "https://github.com/twigphp/Twig/issues",
"source": "https://github.com/twigphp/Twig/tree/v3.14.1"
"source": "https://github.com/twigphp/Twig/tree/v3.14.2"
},
"funding": [
{
@ -4001,7 +4001,7 @@
"type": "tidelift"
}
],
"time": "2024-11-06T18:17:38+00:00"
"time": "2024-11-07T12:36:22+00:00"
},
{
"name": "vlucas/phpdotenv",
@ -6242,12 +6242,12 @@
],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": [],
"stability-flags": {},
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
"ext-pdo": "*"
},
"platform-dev": [],
"platform-dev": {},
"plugin-api-version": "2.6.0"
}

View File

@ -26,7 +26,7 @@
</div>
{% endblock %}
{% block body_js %}
{% block bod_js %}
<script type="javascript">
const form = document.getElementById("login-form");
form.addEventListener('submit', function (e) {

View File

@ -9,6 +9,15 @@ services:
- mariadb
links:
- mariadb
cli:
build:
context: .
dockerfile: 'dev/php/Dockerfile'
volumes:
- './app:/var/www/slovocast'
entrypoint: [ "bash", "-c" ]
profiles:
- noboot
nginx:
image: nginx:latest
volumes: