ffreemt
commited on
Commit
·
69c8bc6
1
Parent(s):
c7b9a90
Update app_port 5005
Browse files- Dockerfile +5 -5
- README.md +2 -1
Dockerfile
CHANGED
@@ -6,10 +6,10 @@ ENV PIP_ROOT_USER_ACTION=ignore \
|
|
6 |
TZ=Asia/Shanghai \
|
7 |
PORT=7860
|
8 |
WORKDIR /app
|
9 |
-
RUN mkdir -p /app/data
|
10 |
-
RUN chmod -R 777 /app/data
|
11 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
12 |
|
13 |
-
|
|
|
14 |
|
15 |
-
|
|
|
|
|
|
6 |
TZ=Asia/Shanghai \
|
7 |
PORT=7860
|
8 |
WORKDIR /app
|
|
|
|
|
|
|
9 |
|
10 |
+
RUN TZ=Asia/Shanghai > /etc/timezone && \
|
11 |
+
pip install --no-cache-dir -r requirements.txt
|
12 |
|
13 |
+
EXPOSE 5005
|
14 |
+
|
15 |
+
CMD ["python", "app.py"]
|
README.md
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
---
|
2 |
title: c2a
|
3 |
-
emoji:
|
4 |
colorFrom: green
|
5 |
colorTo: purple
|
6 |
sdk: docker
|
7 |
pinned: true
|
|
|
8 |
---
|
9 |
|
10 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
title: c2a
|
3 |
+
emoji: 🤡
|
4 |
colorFrom: green
|
5 |
colorTo: purple
|
6 |
sdk: docker
|
7 |
pinned: true
|
8 |
+
app_port: 5005
|
9 |
---
|
10 |
|
11 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|