php-test / Dockerfile
morrispetris's picture
Update Dockerfile
8c42184
raw
history blame contribute delete
219 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"]