File size: 941 Bytes
0398ba5
 
c82474f
10e44cc
c178b11
10e44cc
c178b11
11b837e
0398ba5
c178b11
 
11b837e
 
0398ba5
 
 
 
 
0479bd7
 
 
 
b8b80ac
 
 
c178b11
10e44cc
c178b11
b8b80ac
 
c178b11
b8b80ac
10e44cc
0479bd7
b8b80ac
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
title: My First Docker
emoji: 🔮
models: ["Salesforce/blip-itm-base-coco"]
datasets: []
preload_from_hub: ["Salesforce/blip-itm-base-coco"]
colorFrom: purple
colorTo: blue
sdk: docker
# sdk_version
# python_version
app_port: 7860
startup_duration_timeout: 30m
pinned: false
license: cc
---

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

## Notes To myself

```bash
# secret file
echo "xxx" > /tmp/BUILD_USER_PASSWORD

# vs. 'linux/arm64'
docker buildx build . -t cantremember/hf-my-first-docker:latest \
  --platform linux/amd64 \
  --progress=plain --no-cache \
  --secret id=BUILD_USER_PASSWORD,type=file,source=/tmp/BUILD_USER_PASSWORD \
  --build-arg BUILD_USER_PASSWORD=___

docker run -it --platform linux/amd64 cantremember/hf-my-first-docker:latest bash
```

Secrets

- Spaces > Settings > Variables and secrets
- `BUILD_USER_PASSWORD` - Desired password for sleepbotzz user