作者 ZhengBing He

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

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