php-test1 / Dockerfile
Bananas802's picture
Update Dockerfile
ee18468 verified
raw
history blame contribute delete
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"]