diff --git a/.github/workflows/test_and_publish.yml b/.github/workflows/test_and_publish.yml index 55ac0ba2..d5c5f8c7 100644 --- a/.github/workflows/test_and_publish.yml +++ b/.github/workflows/test_and_publish.yml @@ -75,6 +75,7 @@ jobs: wget https://scrutinizer-ci.com/ocular.phar php ocular.phar code-coverage:upload --format=php-clover data/coverage.clover publish: + name: Publish runs-on: ubuntu-latest needs: test if: github.ref == 'refs/heads/master' diff --git a/Dockerfile b/Dockerfile index c8c9d64f..a02c4a27 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,10 @@ FROM debian:stable-slim ENV DEBIAN_FRONTEND=noninteractive EXPOSE 8000 -RUN apt update && apt install -y curl HEALTHCHECK --interval=5m --timeout=3s CMD curl --fail http://127.0.0.1:8000/ || exit 1 - -RUN apt install -y php7.3-cli php7.3-gd php7.3-pgsql php7.3-mysql php7.3-sqlite3 php7.3-zip php7.3-dom php7.3-mbstring php-xdebug -RUN apt install -y composer imagemagick vim zip unzip +RUN apt update && apt install -y curl \ + php7.3-cli php7.3-gd php7.3-pgsql php7.3-mysql php7.3-sqlite3 php7.3-zip php7.3-dom php7.3-mbstring php-xdebug \ + composer imagemagick vim zip unzip COPY composer.json composer.lock /app/ WORKDIR /app