| FROM ubuntu:22.04 | |
| RUN apt-get update | |
| RUN DEBIAN_FRONTEND=noninteractive apt-get install -y php | |
| RUN curl -o /typecho.zip https://github.com/typecho/typecho/releases/latest/download/typecho.zip | |
| WORKDIR /var/www/html | |
| #COPY index.php /var/www/html | |
| EXPOSE 7860 | |
| CMD ["php", "-S", "0.0.0.0:7860", "-t", "/var/www/html"] | |