File tree Expand file tree Collapse file tree 5 files changed +1321
-1
lines changed
Expand file tree Collapse file tree 5 files changed +1321
-1
lines changed Original file line number Diff line number Diff line change 11/root /app /www /public /logs /*
22/root /app /www /public /api /container-alias.json
33/.vscode /*
4+
5+ /vendor /
Original file line number Diff line number Diff line change @@ -23,11 +23,25 @@ RUN \
2323# install sockets
2424RUN apk add --no-cache \
2525 php83-sockets
26-
26+
2727# install sqlite3
2828RUN apk add --no-cache \
2929 php83-sqlite3
3030
31+ # install composer and PHP dependencies
32+ RUN apk add --no-cache \
33+ php83-phar \
34+ php83-mbstring \
35+ php83-openssl \
36+ php83-json \
37+ php83-tokenizer \
38+ php83-dom \
39+ php83-xml \
40+ php83-xmlwriter \
41+ php83-simplexml \
42+ curl \
43+ && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
44+
3145# add regctl for container digest checks
3246ARG TARGETARCH
3347ARG REGCTL_VERSION=v0.5.6
@@ -47,6 +61,11 @@ HEALTHCHECK --interval=60s --timeout=30s --start-period=180s --start-interval=10
4761# add local files
4862COPY root/ /
4963
64+ # Copy composer files and install dependencies
65+ COPY composer.json composer.lock* /app/www/
66+ WORKDIR /app/www
67+ RUN composer install --no-dev --optimize-autoloader
68+
5069ARG COMMIT=unknown
5170ARG COMMITS=0
5271ARG BRANCH=unknown
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " notifiarr/dockwatch" ,
3+ "type" : " project" ,
4+ "require" : {
5+ "cboden/ratchet" : " ^0.4.4"
6+ },
7+ "license" : " MIT"
8+ }
You can’t perform that action at this time.
0 commit comments