作者 ZhengBing He

CMD [ "php", "-S", "0.0.0.0:8080"]

FROM php:8.2-cli
COPY ./wwwroot /code
WORKDIR /code
CMD [ "php", "S", "0.0.0.0:8080"]
CMD [ "php", "-S", "0.0.0.0:8080"]
... ...
FROM php:8.2-cli
COPY ./wwwroot /code
WORKDIR /code
CMD [ "php", "S", "0.0.0.0:8080"]
CMD [ "php", "-S", "0.0.0.0:8080"]
... ...