Skip to content

Commit 21acc50

Browse files
committed
add pip requirements
1 parent 5ac37a0 commit 21acc50

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
FROM python:3.10
22

3-
RUN pip install krptn flask
4-
53
COPY . .
64

5+
RUN pip install -r requirements.txt
6+
77
EXPOSE 8000
88

99
CMD [ "python", "-m", "flask", "run", "-p", "8000", "-h", "0.0.0.0" ]

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ In case you recieve concurency errors from SQLite, please use a different databa
99
Don't forget to install Krptn & Flask before:
1010

1111
```shell
12-
pip install krptn flask
12+
pip install -r requirements.txt
1313
flask run
1414
```
1515

requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
krptn
2+
flask

0 commit comments

Comments
 (0)