mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-22 23:23:42 -06:00
Updated to zend-expressive-swoole 2.0.1 removing all workarounds
This commit is contained in:
parent
d0e0aea0f1
commit
6947805b5c
@ -42,7 +42,7 @@
|
|||||||
"zendframework/zend-expressive-fastroute": "^3.0",
|
"zendframework/zend-expressive-fastroute": "^3.0",
|
||||||
"zendframework/zend-expressive-helpers": "^5.0",
|
"zendframework/zend-expressive-helpers": "^5.0",
|
||||||
"zendframework/zend-expressive-platesrenderer": "^2.0",
|
"zendframework/zend-expressive-platesrenderer": "^2.0",
|
||||||
"zendframework/zend-expressive-swoole": "^2.0",
|
"zendframework/zend-expressive-swoole": "^2.0.1",
|
||||||
"zendframework/zend-i18n": "^2.7",
|
"zendframework/zend-i18n": "^2.7",
|
||||||
"zendframework/zend-inputfilter": "^2.8",
|
"zendframework/zend-inputfilter": "^2.8",
|
||||||
"zendframework/zend-paginator": "^2.6",
|
"zendframework/zend-paginator": "^2.6",
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
<?php
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
// FIXME Dummy file just to prevent expressive-swoole fail while loading
|
|
||||||
return function () {
|
|
||||||
};
|
|
@ -1,6 +0,0 @@
|
|||||||
<?php
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
// FIXME Dummy file just to prevent expressive-swoole fail while loading
|
|
||||||
return function () {
|
|
||||||
};
|
|
@ -92,7 +92,4 @@ WORKDIR /home/shlink
|
|||||||
# Expose swoole port
|
# Expose swoole port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
CMD /usr/local/bin/composer update && \
|
CMD /usr/local/bin/composer update && ./vendor/bin/zend-expressive-swoole start
|
||||||
# When restarting the container, swoole might think it is already in execution
|
|
||||||
# This forces the app to be started every second until the exit code is 0
|
|
||||||
until php ./vendor/bin/zend-expressive-swoole start; do sleep 1 ; done
|
|
||||||
|
Loading…
Reference in New Issue
Block a user