Add h5ai for exposing assets
This commit is contained in:
parent
f8d8145338
commit
6d0d615a2f
1 changed files with 1 additions and 10 deletions
11
Dockerfile
11
Dockerfile
|
|
@ -7,7 +7,7 @@ RUN apk add --no-cache \
|
||||||
bash bash-completion supervisor tzdata shadow \
|
bash bash-completion supervisor tzdata shadow \
|
||||||
php82 php82-fpm php82-session php82-json php82-xml php82-mbstring php82-exif \
|
php82 php82-fpm php82-session php82-json php82-xml php82-mbstring php82-exif \
|
||||||
php82-intl php82-gd php82-pecl-imagick php82-zip php82-opcache \
|
php82-intl php82-gd php82-pecl-imagick php82-zip php82-opcache \
|
||||||
ffmpeg imagemagick zip apache2-utils patch git
|
ffmpeg imagemagick zip apache2-utils patch
|
||||||
|
|
||||||
# Environments
|
# Environments
|
||||||
ENV PUID=911
|
ENV PUID=911
|
||||||
|
|
@ -17,15 +17,6 @@ ENV HTPASSWD='false'
|
||||||
ENV HTPASSWD_USER='guest'
|
ENV HTPASSWD_USER='guest'
|
||||||
ENV HTPASSWD_PW=''
|
ENV HTPASSWD_PW=''
|
||||||
|
|
||||||
# Git repository argument (default empty)
|
|
||||||
ARG REPO_URL=""
|
|
||||||
RUN if [ -n "$REPO_URL" ]; then \
|
|
||||||
git clone "$REPO_URL" /tmp/cloned && \
|
|
||||||
mkdir -p /h5ai && \
|
|
||||||
cp -r /tmp/cloned/* /h5ai && \
|
|
||||||
rm -rf /tmp/cloned; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Copy configuration files
|
# Copy configuration files
|
||||||
COPY config/h5ai.conf /etc/nginx/conf.d/h5ai.conf
|
COPY config/h5ai.conf /etc/nginx/conf.d/h5ai.conf
|
||||||
COPY config/php_set_timezone.ini /etc/php82/conf.d/00_timezone.ini
|
COPY config/php_set_timezone.ini /etc/php82/conf.d/00_timezone.ini
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue