Example config, dist cleanup, build files

This commit is contained in:
Christopher Vagnetoft
2026-01-17 17:31:22 +01:00
parent 8b80f25f79
commit 278c9d8d68
4 changed files with 64 additions and 19 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM php:8.4-cli-alpine
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
RUN apk add --no-cache tini
ENTRYPOINT [ "/sbin/tini", "--" ]
RUN install-php-extensions pcntl posix mbstring sodium curl
WORKDIR /app
COPY ./ntfid.phar /app/ntfid
COPY ./config.dist.yaml /app/config.yaml
CMD [ "/app/ntfid", "--config", "/app/config.yaml" ]