Example config, dist cleanup, build files
This commit is contained in:
13
Dockerfile
Normal file
13
Dockerfile
Normal 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" ]
|
||||
Reference in New Issue
Block a user