mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-24 20:17:32 +08:00
chore: update dockerfile
This commit is contained in:
+5
-1
@@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user