更改dockerfile

This commit is contained in:
fantasticbin 2022-11-11 17:40:27 +08:00
parent 3b327a585a
commit 1ff1dceab7

View File

@ -49,6 +49,6 @@ WORKDIR /opt/www
COPY . /opt/www COPY . /opt/www
RUN composer install --no-dev -o && php bin/hyperf.php RUN composer install --no-dev -o && php bin/hyperf.php
EXPOSE 9901 EXPOSE 8401
ENTRYPOINT ["php", "/opt/www/bin/hyperf.php", "start"] ENTRYPOINT ["php", "/opt/www/bin/hyperf.php", "start"]