diff --git a/.gitignore b/.gitignore index 126afeb..48bb61b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ config.php vendor -composer.lock \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 4d99c70..f3ef7df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1,18 @@ -FROM docker.io/composer AS composer +FROM docker.io/composer:latest AS composer WORKDIR /app -COPY composer.json ./ +COPY composer.json composer.lock ./ RUN composer install -FROM docker.io/php:alpine +FROM docker.io/php:7.4-alpine COPY --from=composer /app /app COPY main.php functions.php /app/ WORKDIR /app -ENTRYPOINT ["php", "main.php"] \ No newline at end of file +ENTRYPOINT ["php", "main.php"] diff --git a/composer.lock b/composer.lock new file mode 100644 index 0000000..7cf6a88 --- /dev/null +++ b/composer.lock @@ -0,0 +1,72 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "2a31c469c141d9a2c27bb3cbe875b90b", + "packages": [ + { + "name": "planetteamspeak/ts3-php-framework", + "version": "1.1.33", + "source": { + "type": "git", + "url": "https://github.com/planetteamspeak/ts3phpframework.git", + "reference": "fb08150b1785bfd0c135f9a337d23be42344b46c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/planetteamspeak/ts3phpframework/zipball/fb08150b1785bfd0c135f9a337d23be42344b46c", + "reference": "fb08150b1785bfd0c135f9a337d23be42344b46c", + "shasum": "" + }, + "require": { + "php": ">=5.2.1" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.0.0", + "phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0 || ^7.0", + "react/socket": "^0.8.5", + "satooshi/php-coveralls": "^1.1 || ^2.0", + "symfony/yaml": "~2.1|~3.0|~4.0" + }, + "type": "library", + "autoload": { + "files": [ + "libraries/TeamSpeak3/TeamSpeak3.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0" + ], + "authors": [ + { + "name": "Sven 'ScP' Paulsen", + "email": "scp@planetteamspeak.com" + } + ], + "description": "Modern use-at-will framework that provides individual components to manage TeamSpeak 3 Server instances", + "homepage": "https://www.planetteamspeak.com", + "keywords": [ + "api", + "filetransfer", + "interface", + "management", + "query", + "server", + "teamspeak", + "ts3" + ], + "time": "2018-08-03T11:46:37+00:00" + } + ], + "packages-dev": [], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": [], + "platform-dev": [] +}