KitTheBit commited on
Commit
a4a6ad0
·
verified ·
1 Parent(s): 5a02787

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use a specific version for the base image
2
+ FROM python:3.11-slim-bullseye
3
+ # Set a working directory in the container
4
+ WORKDIR /app
5
+
6
+ # Install dependencies
7
+ RUN pip install curl_cffi requests httpx dnspython
8
+ # Copy application files to the container at /app
9
+ COPY . /app
10
+
11
+ # Expose the desired port
12
+ EXPOSE 7860
13
+
14
+ # Command to run the script
15
+ CMD ["python", "run.py"]