CoolFace
Apppublic

RoboMouse/php

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
Dockerfile22 linesDownload Raw Back to root
1# Use the smallest possible Ubuntu image2FROM ubuntu:22.043 4# Set environment variables to avoid interactive prompts during installation5ENV DEBIAN_FRONTEND=noninteractive6 7# Update package lists and install PHP and curl8RUN apt-get update && \9    apt-get install -y php curl && \10    apt-get clean && \11    rm -rf /var/lib/apt/lists/*12 13# Set the working directory14WORKDIR /var/www/html15RUN chmod 777 /var/www/html16COPY index.php /var/www/html17 18# Expose the port the server will run on19EXPOSE 786020 21# Start the PHP built-in server22CMD ["php", "-S", "0.0.0.0:7860"]