rdpgen / Dockerfile
1tbfree's picture
Create Dockerfile
b6b8e3f verified
raw
history blame
345 Bytes
# Use the official PHP image from the Docker Hub
FROM php:8.1-cli
# Set the working directory inside the container
WORKDIR /var/www/html
# Copy all files from the current directory to the working directory in the container
COPY . .
# Expose port 7860
EXPOSE 7860
# Start the PHP built-in server
CMD ["php", "-S", "0.0.0.0:7860", "index.php"]