Spaces:
Build error
Build error
Pietro Lesci
commited on
Commit
·
569e2f4
1
Parent(s):
0b4827c
update readme
Browse files
README.md
CHANGED
@@ -11,14 +11,26 @@ pinned: false
|
|
11 |
---
|
12 |
|
13 |
|
14 |
-
# Run
|
15 |
```bash
|
16 |
streamlit run app.py
|
17 |
```
|
18 |
|
19 |
-
#
|
20 |
```bash
|
21 |
-
# create image
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
make build
|
23 |
|
24 |
# run container and serve the app at localhost:4321
|
|
|
11 |
---
|
12 |
|
13 |
|
14 |
+
# Run without docker
|
15 |
```bash
|
16 |
streamlit run app.py
|
17 |
```
|
18 |
|
19 |
+
# Debug in Docker
|
20 |
```bash
|
21 |
+
# create image (if not already present)
|
22 |
+
make build
|
23 |
+
|
24 |
+
# run container with an interactive shell
|
25 |
+
make dev
|
26 |
+
|
27 |
+
# (from within the contained) start the app normally
|
28 |
+
streamlit run app.py
|
29 |
+
```
|
30 |
+
|
31 |
+
# Run in Docker
|
32 |
+
```bash
|
33 |
+
# create image (if not already present)
|
34 |
make build
|
35 |
|
36 |
# run container and serve the app at localhost:4321
|