fewer layers

This commit is contained in:
Shish 2020-03-19 14:52:54 +00:00
parent 4dda69df45
commit 6955053b87
2 changed files with 4 additions and 4 deletions

View file

@ -75,6 +75,7 @@ jobs:
wget https://scrutinizer-ci.com/ocular.phar wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover data/coverage.clover php ocular.phar code-coverage:upload --format=php-clover data/coverage.clover
publish: publish:
name: Publish
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: test needs: test
if: github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/master'

View file

@ -1,11 +1,10 @@
FROM debian:stable-slim FROM debian:stable-slim
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
EXPOSE 8000 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 HEALTHCHECK --interval=5m --timeout=3s CMD curl --fail http://127.0.0.1:8000/ || exit 1
RUN apt update && apt install -y curl \
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 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 composer imagemagick vim zip unzip
COPY composer.json composer.lock /app/ COPY composer.json composer.lock /app/
WORKDIR /app WORKDIR /app