switch to composer for ts3phpframework dependency management
parent
1affc566d0
commit
dcbe8d8297
@ -1,3 +0,0 @@
|
|||||||
[submodule "ts3phpframework"]
|
|
||||||
path = ts3phpframework
|
|
||||||
url = https://github.com/planetteamspeak/ts3phpframework.git
|
|
@ -1,7 +1,17 @@
|
|||||||
|
FROM docker.io/composer AS composer
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY composer.json main.php functions.php ./
|
||||||
|
|
||||||
|
RUN composer install
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
FROM docker.io/php:alpine
|
FROM docker.io/php:alpine
|
||||||
|
|
||||||
WORKDIR /src
|
COPY --from=composer /app /app
|
||||||
|
|
||||||
COPY . ./
|
WORKDIR /app
|
||||||
|
|
||||||
ENTRYPOINT ["php", "main.php"]
|
ENTRYPOINT ["php", "main.php"]
|
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"require": {
|
||||||
|
"planetteamspeak/ts3-php-framework": "*"
|
||||||
|
}
|
||||||
|
}
|
@ -1 +0,0 @@
|
|||||||
Subproject commit 3b7a20e68bc556981f9a41782adb9933394605a9
|
|
Loading…
Reference in New Issue