chore: update dockerfile

This commit is contained in:
xboard 2025-02-09 23:10:28 +08:00
parent bd9c2a32d7
commit 4092a49117

View File

@ -13,8 +13,12 @@ RUN CFLAGS="-O0" install-php-extensions pcntl && \
(getent passwd redis || adduser -S -G redis -H -h /data redis) (getent passwd redis || adduser -S -G redis -H -h /data redis)
WORKDIR /www WORKDIR /www
COPY .docker / COPY .docker /
COPY . /www
ARG REPO_URL=https://github.com/cedar2025/Xboard
RUN git clone --depth 2 ${REPO_URL} .
COPY .docker/supervisor/supervisord.conf /etc/supervisor/conf.d/supervisord.conf COPY .docker/supervisor/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
RUN composer install --optimize-autoloader --no-cache --no-dev \ RUN composer install --optimize-autoloader --no-cache --no-dev \