Spaces:
Runtime error
Runtime error
Commit
·
2afeddf
1
Parent(s):
9d1797e
updated dockerfile
Browse files- .ipynb_checkpoints/Dockerfile-checkpoint +4 -2
- Dockerfile +4 -2
.ipynb_checkpoints/Dockerfile-checkpoint
CHANGED
|
@@ -13,6 +13,8 @@ COPY . .
|
|
| 13 |
|
| 14 |
RUN git clone https://github.com/AnswerDotAI/fasthtml.git
|
| 15 |
|
| 16 |
-
|
| 17 |
|
| 18 |
-
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
RUN git clone https://github.com/AnswerDotAI/fasthtml.git
|
| 15 |
|
| 16 |
+
WORKDIR /code/fasthtml
|
| 17 |
|
| 18 |
+
RUN pip install .
|
| 19 |
+
|
| 20 |
+
CMD ["uvicorn", "examples.db_app:app", "--host", "0.0.0.0", "--port", "7860"]
|
Dockerfile
CHANGED
|
@@ -13,6 +13,8 @@ COPY . .
|
|
| 13 |
|
| 14 |
RUN git clone https://github.com/AnswerDotAI/fasthtml.git
|
| 15 |
|
| 16 |
-
|
| 17 |
|
| 18 |
-
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
RUN git clone https://github.com/AnswerDotAI/fasthtml.git
|
| 15 |
|
| 16 |
+
WORKDIR /code/fasthtml
|
| 17 |
|
| 18 |
+
RUN pip install .
|
| 19 |
+
|
| 20 |
+
CMD ["uvicorn", "examples.db_app:app", "--host", "0.0.0.0", "--port", "7860"]
|