Spaces:
Runtime error
Runtime error
docs: toc + package info
Browse files- README.md +12 -1
- package.json +18 -2
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
title: Next.js Docker Starter
|
3 |
-
emoji:
|
4 |
colorFrom: purple
|
5 |
colorTo: blue
|
6 |
sdk: docker
|
@@ -13,6 +13,17 @@ app_port: 3000
|
|
13 |
|
14 |
This starter can be used to run [Next.js](https://nextjs.org/) using [Docker](https://huggingface.co/docs/hub/spaces-sdks-docker) in π€ [Spaces](https://huggingface.co/spaces).
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
## Development
|
17 |
|
18 |
1. Install the dependencies: `npm i`
|
|
|
1 |
---
|
2 |
title: Next.js Docker Starter
|
3 |
+
emoji: "\U0001F433\U0001F918"
|
4 |
colorFrom: purple
|
5 |
colorTo: blue
|
6 |
sdk: docker
|
|
|
13 |
|
14 |
This starter can be used to run [Next.js](https://nextjs.org/) using [Docker](https://huggingface.co/docs/hub/spaces-sdks-docker) in π€ [Spaces](https://huggingface.co/spaces).
|
15 |
|
16 |
+
<!-- toc -->
|
17 |
+
|
18 |
+
- [Development](#development)
|
19 |
+
- [Use the Docker container locally](#use-the-docker-container-locally)
|
20 |
+
- [Dockerize an existing project](#dockerize-an-existing-project)
|
21 |
+
- [Manage your Space via GitHub](#manage-your-space-via-github)
|
22 |
+
|
23 |
+
<!-- tocstop -->
|
24 |
+
|
25 |
+
---
|
26 |
+
|
27 |
## Development
|
28 |
|
29 |
1. Install the dependencies: `npm i`
|
package.json
CHANGED
@@ -1,10 +1,26 @@
|
|
1 |
{
|
2 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"scripts": {
|
4 |
"dev": "next dev",
|
5 |
"build": "next build",
|
6 |
"start": "next start",
|
7 |
-
"lint": "next lint"
|
|
|
|
|
8 |
},
|
9 |
"dependencies": {
|
10 |
"@types/node": "20.1.4",
|
|
|
1 |
{
|
2 |
+
"name": "nextjs-docker-starter",
|
3 |
+
"version": "1.0.0",
|
4 |
+
"description": "Run your ML demo app using Next.js on π€ Spaces",
|
5 |
+
"keywords": [
|
6 |
+
"nextjs",
|
7 |
+
"artificial intelligence",
|
8 |
+
"javascript",
|
9 |
+
"hugging face spaces",
|
10 |
+
"machine learning"
|
11 |
+
],
|
12 |
+
"license": "AGPL",
|
13 |
+
"author": {
|
14 |
+
"name": "Tim Pietrusky",
|
15 |
+
"url": "https://github.com/TimPietrusky"
|
16 |
+
},
|
17 |
"scripts": {
|
18 |
"dev": "next dev",
|
19 |
"build": "next build",
|
20 |
"start": "next start",
|
21 |
+
"lint": "next lint",
|
22 |
+
"spj": "npx sort-package-json",
|
23 |
+
"toc": "npx markdown-toc README.md -i"
|
24 |
},
|
25 |
"dependencies": {
|
26 |
"@types/node": "20.1.4",
|