File size: 332 Bytes
b6b8e3f
 
 
 
 
 
 
 
 
 
 
 
 
c4941c5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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"]