rishikumar20202023 commited on
Commit
f9ad477
·
verified ·
1 Parent(s): e2b990b

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -0
Dockerfile ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM xtekky/g4f:latest
2
+
3
+ # Install socat if it's not included in the base image
4
+ RUN apt-get update && apt-get install -y socat
5
+
6
+ # Expose the internal port
7
+ EXPOSE 8080
8
+
9
+ # Forward traffic from port 7860 to 8080 using socat
10
+ CMD socat TCP-LISTEN:7860,fork TCP:localhost:8080