-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
misc: add v2 runme demo to README (#2811)
* added demo runner on runme.io * change to readme, added button indside * Change to version 2 of docusaurus * V2 (#1) * try v2 * port change * put path to folder * change running string Co-authored-by: Cloud User <belokonm@gmail.com> Co-authored-by: MishaJexia <44843719+MishaJexia@users.noreply.github.com>
- Loading branch information
1 parent
ce4b018
commit 374eba7
Showing
3 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM node:12.10.0 | ||
WORKDIR /app | ||
RUN npx @docusaurus/init@next init website classic | ||
RUN npm install http-server -g | ||
RUN cd website && npm run build | ||
ENTRYPOINT http-server ./website/build/ -p 80 -a 0.0.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: 1.0 | ||
publish: app | ||
services: | ||
app: | ||
build: | ||
type: dockerfile | ||
config: ./.runme/Dockerfile.runme | ||
ports: | ||
- container: 80 | ||
public: 80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters