Spaces:
Running
Running
José Valim
commited on
Commit
•
3e492cc
1
Parent(s):
2f0122e
/public-apps
Browse files- Dockerfile +2 -2
- {public → public-apps}/.gitkeep +0 -0
- {public → public-apps}/welcome.livemd +2 -2
Dockerfile
CHANGED
@@ -4,12 +4,12 @@ ENV LIVEBOOK_APP_SERVICE_NAME "🐳 Hugging Face - $SPACE_TITLE"
|
|
4 |
ENV LIVEBOOK_APP_SERVICE_URL "https://huggingface.co/spaces/$SPACE_AUTHOR_NAME/$SPACE_REPO_NAME"
|
5 |
ENV LIVEBOOK_UPDATE_INSTRUCTIONS_URL "https://livebook.dev"
|
6 |
ENV LIVEBOOK_WITHIN_IFRAME "true"
|
7 |
-
ENV LIVEBOOK_APPS_PATH "/public"
|
8 |
ENV LIVEBOOK_DATA_PATH "/data"
|
9 |
ENV LIVEBOOK_PORT 7860
|
10 |
|
11 |
EXPOSE 7860
|
12 |
USER root
|
13 |
-
COPY public/ /public
|
14 |
RUN mkdir -p /data
|
15 |
RUN chmod 777 /data
|
|
|
4 |
ENV LIVEBOOK_APP_SERVICE_URL "https://huggingface.co/spaces/$SPACE_AUTHOR_NAME/$SPACE_REPO_NAME"
|
5 |
ENV LIVEBOOK_UPDATE_INSTRUCTIONS_URL "https://livebook.dev"
|
6 |
ENV LIVEBOOK_WITHIN_IFRAME "true"
|
7 |
+
ENV LIVEBOOK_APPS_PATH "/public-apps"
|
8 |
ENV LIVEBOOK_DATA_PATH "/data"
|
9 |
ENV LIVEBOOK_PORT 7860
|
10 |
|
11 |
EXPOSE 7860
|
12 |
USER root
|
13 |
+
COPY public-apps/ /public-apps
|
14 |
RUN mkdir -p /data
|
15 |
RUN chmod 777 /data
|
{public → public-apps}/.gitkeep
RENAMED
File without changes
|
{public → public-apps}/welcome.livemd
RENAMED
@@ -36,11 +36,11 @@ with both.
|
|
36 |
|
37 |
Livebook is fully collaborative and it enables you to deploy interactive
|
38 |
and collaborative apps just as well. All of your deployable notebooks will
|
39 |
-
be in the "public" directory of your Spaces repository.
|
40 |
|
41 |
To deploy your own notebook on Hugging Face, you must click the
|
42 |
<i class="ri-livebook-deploy"></i> icon on the notebook sidebar, set a "Slug"
|
43 |
for the notebook, mark it as public. and then drop its `.livemd` file into
|
44 |
-
the "public" directory of your Spaces repo.
|
45 |
""")
|
46 |
```
|
|
|
36 |
|
37 |
Livebook is fully collaborative and it enables you to deploy interactive
|
38 |
and collaborative apps just as well. All of your deployable notebooks will
|
39 |
+
be in the "public-apps" directory of your Spaces repository.
|
40 |
|
41 |
To deploy your own notebook on Hugging Face, you must click the
|
42 |
<i class="ri-livebook-deploy"></i> icon on the notebook sidebar, set a "Slug"
|
43 |
for the notebook, mark it as public. and then drop its `.livemd` file into
|
44 |
+
the "public-apps" directory of your Spaces repo.
|
45 |
""")
|
46 |
```
|