Skip to content

Commit fec60de

Browse files
authored
Merge pull request #12 from ugurarpaci/master
Docker run README.md update
2 parents acd43fb + b46e168 commit fec60de

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,14 @@ A: I use WebSocket because it allows good performance: having 100 users at the s
7070

7171
Q: Tech question: why use `dumbdbm` on server?
7272
A: Because it works. If you know a Python database module that 1) stores data in a file (i.e. no database server needed), 2) is lightweight, 3) allows inserts / queries with a dictionary syntax (`db['hello'] = 'blah'`), and if possible allows integers as dictionary keys, I'm interested!
73+
74+
Q: Tech question: How can I run the project inside a Docker container ?
75+
A: There is a Dockerfile in the root of the project directory. After clone, simply run the following
76+
```
77+
docker build -t talktalktalk .
78+
```
79+
Then the following command to run it as a container :
80+
```
81+
docker run -d --name=talktalktalk -p 9000:9000 talktalktalk
82+
```
83+

0 commit comments

Comments
 (0)