Spaces:
Sleeping
Sleeping
deploy
Browse files
README.md
CHANGED
@@ -58,7 +58,7 @@ bash deploy_docker.sh
|
|
58 |
|
59 |
Step by step:
|
60 |
|
61 |
-
1. Building the
|
62 |
|
63 |
```
|
64 |
docker build -f Dockerfile -t ambhtmx-card3d-image . &&
|
@@ -67,7 +67,7 @@ docker build -f Dockerfile -t ambhtmx-card3d-image . &&
|
|
67 |
|
68 |
2. Check the app on http://127.0.0.1:3000
|
69 |
|
70 |
-
4. Stoping and removing the
|
71 |
|
72 |
```
|
73 |
docker container rm -f ambhtmx-card3d-container
|
|
|
58 |
|
59 |
Step by step:
|
60 |
|
61 |
+
1. Building the image:
|
62 |
|
63 |
```
|
64 |
docker build -f Dockerfile -t ambhtmx-card3d-image . &&
|
|
|
67 |
|
68 |
2. Check the app on http://127.0.0.1:3000
|
69 |
|
70 |
+
4. Stoping and removing the container:
|
71 |
|
72 |
```
|
73 |
docker container rm -f ambhtmx-card3d-container
|
app.R
CHANGED
@@ -25,7 +25,7 @@ card_3d_demo <- \() {
|
|
25 |
div(card, style = card_styles)
|
26 |
}
|
27 |
|
28 |
-
app <- ambhtmx_app(host = "0.0.0.0", port = "
|
29 |
|
30 |
app$get("/", \(req, res) {
|
31 |
card_3d_demo() |> send_page(res)
|
|
|
25 |
div(card, style = card_styles)
|
26 |
}
|
27 |
|
28 |
+
app <- ambhtmx_app(host = "0.0.0.0", port = "7860", protocol ="http")$app
|
29 |
|
30 |
app$get("/", \(req, res) {
|
31 |
card_3d_demo() |> send_page(res)
|