Staticaliza commited on
Commit
2cfd607
·
verified ·
1 Parent(s): e739b1a

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -0
Dockerfile ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from python:3.10-slim
2
+
3
+ workdir /app
4
+ copy requirements.txt .
5
+ run pip install -r requirements.txt
6
+
7
+ # pick a non-privileged port
8
+ expose 5678
9
+
10
+ copy . .
11
+ cmd [ "python", "my_tcp_server.py" ]