PHP Classes

File: Dockerfile

Recommend this page to a friend!
  Packages of Massimiliano Arione   Chess API   Dockerfile   Download  
File: Dockerfile
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Chess API
Get chess moves from the chess-api.com Web service
Author: By
Last change:
Date: 17 days ago
Size: 326 bytes
 

Contents

Class file image Download
FROM composer:2.9 AS composer FROM php:8.5-alpine COPY --from=composer /usr/bin/composer /usr/local/bin/composer WORKDIR /srv/chess-api # prevent the reinstallation of vendors at every changes in the source code COPY . ./ RUN set -eux; \ composer install; \ composer clear-cache; \ vendor/bin/phpunit CMD ["/init"]