php-test1 / Dockerfile
morrispetris's picture
Update Dockerfile
ca3c1b6
raw
history blame
220 Bytes
FROM ubuntu:22.04
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y php
WORKDIR /var/www/html
COPY index.php /var/www/html
EXPOSE 7860
CMD ["php", "-S", "0.0.0.0:7860", "-t", ""/var/www/html"]