chore: update dockerfile
Some checks are pending
Docker Build and Publish / build (push) Waiting to run

This commit is contained in:
xboard 2025-02-09 23:10:28 +08:00
parent ebd5c09145
commit 9a412ca570

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 \