GalaxyTab commited on
Commit
0a0e3a7
·
1 Parent(s): 49ab757
Files changed (3) hide show
  1. Dockerfile +13 -0
  2. README.md +3 -4
  3. frozone +1 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.12.12
2
+
3
+ RUN useradd -m -u 1000 user
4
+ USER user
5
+ ENV PATH="/home/user/.local/bin:$PATH"
6
+
7
+ WORKDIR /app
8
+
9
+ COPY --chown=user ./requirements.txt requirements.txt
10
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
11
+
12
+ COPY --chown=user . /app
13
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
README.md CHANGED
@@ -1,12 +1,11 @@
1
  ---
2
  title: Site
3
- emoji: 🌖
4
- colorFrom: green
5
- colorTo: gray
6
  sdk: docker
7
  pinned: false
8
  license: mit
9
  short_description: A space for hosting our experiment website
10
  ---
11
-
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
  title: Site
3
+ emoji: 🍦
4
+ colorFrom: white
5
+ colorTo: brown
6
  sdk: docker
7
  pinned: false
8
  license: mit
9
  short_description: A space for hosting our experiment website
10
  ---
 
11
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
frozone ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 47f9979cf876f78738796c0d58f27907684c9b6d