19 lines
468 B
Text
19 lines
468 B
Text
|
FROM alpine AS builder
|
||
|
|
||
|
WORKDIR /usr/src
|
||
|
|
||
|
RUN apk update && apk add git
|
||
|
|
||
|
ADD https://github.com/strichliste/strichliste/releases/download/v1.8.2/strichliste-v1.8.2.tar.gz .
|
||
|
RUN mkdir strichliste/ && tar -xzf strichliste-v1.8.2.tar.gz -C strichliste/
|
||
|
|
||
|
FROM docker.io/library/unit:php8.2
|
||
|
|
||
|
WORKDIR /var/www/html
|
||
|
|
||
|
RUN docker-php-ext-install -j$(nproc) mysqli
|
||
|
|
||
|
COPY --from=builder --chown=unit:unit /usr/src/strichliste .
|
||
|
|
||
|
COPY config.json /docker-entrypoint.d/config.json
|