mirror of
https://github.com/NamelessMC/Nameless
synced 2026-08-18 06:29:04 -04:00
12 lines
449 B
Docker
12 lines
449 B
Docker
# this should match the minimum php version specified in composer.json
|
|
FROM docker.io/php:8.2-fpm-bookworm
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y python3-minimal npm zip
|
|
|
|
RUN --mount=type=bind,from=ghcr.io/mlocati/php-extension-installer:latest,source=/usr/bin/install-php-extensions,target=/usr/local/bin/install-php-extensions \
|
|
install-php-extensions @composer exif
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|