danielpancake commited on
Commit
274b8ff
·
unverified ·
1 Parent(s): c9cbd83

Initial commit

Browse files
Files changed (2) hide show
  1. Dockerfile +3 -0
  2. README.md +11 -5
Dockerfile ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ # Hugging Face Space (Docker SDK) for QuickNotes
2
+
3
+ FROM ghcr.io/danielpancake/devops-intro/quicknotes:v0.1.0
README.md CHANGED
@@ -1,10 +1,16 @@
1
  ---
2
- title: Quicknotes
3
- emoji: 🔥
4
- colorFrom: green
5
- colorTo: gray
6
  sdk: docker
 
7
  pinned: false
8
  ---
 
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
1
  ---
2
+ title: QuickNotes
3
+ emoji: 📝
4
+ colorFrom: blue
5
+ colorTo: green
6
  sdk: docker
7
+ app_port: 8080
8
  pinned: false
9
  ---
10
+ # QuickNotes on Hugging Face Spaces
11
 
12
+ Runs the hardened QuickNotes container published to GitHub Container Registry and served using Hugging Face's Docker SDK.
13
+
14
+ - **Port:** `8080` (`app_port: 8080` is required because HF defaults to `7860`)
15
+ - **Image:** `ghcr.io/danielpancake/devops-intro/quicknotes:v0.1.0` (must be public)
16
+ - **Endpoints:** `/health`, `/notes`, `/notes/{id}`, `/metrics`