rdpgen / Dockerfile
1tbfree's picture
Update Dockerfile
c4941c5 verified
raw
history blame
332 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"]