Spaces:
Runtime error
Runtime error
Félix Marty
commited on
Commit
·
f5d19d5
1
Parent(s):
ef17830
add project
Browse files- Dockerfile +21 -0
- README.md +5 -5
Dockerfile
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM ubuntu:22.04
|
2 |
+
|
3 |
+
# Update the components and install deps
|
4 |
+
RUN apt update && apt -y upgrade && \
|
5 |
+
apt install -y git nodejs npm
|
6 |
+
|
7 |
+
# Set up a new user named "user" with user ID 1000
|
8 |
+
RUN useradd -m -u 1000 user && \
|
9 |
+
chmod -R 777 /opt
|
10 |
+
|
11 |
+
# Switch to the "user" user
|
12 |
+
USER user
|
13 |
+
|
14 |
+
RUN git clone https://huggingface.co/datasets/fxmarty/transformers-regressions /opt/transformers-regressions && \
|
15 |
+
cd /opt/transformers-regressions/dana && \
|
16 |
+
npm install
|
17 |
+
|
18 |
+
WORKDIR /opt/transformers-regressions/dana
|
19 |
+
|
20 |
+
CMD ["npm", "start"]
|
21 |
+
|
README.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: docker
|
7 |
pinned: false
|
8 |
-
|
9 |
---
|
10 |
|
11 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
+
title: AMDPerfTracker
|
3 |
+
emoji: 🏃
|
4 |
+
colorFrom: green
|
5 |
+
colorTo: pink
|
6 |
sdk: docker
|
7 |
pinned: false
|
8 |
+
app_port: 7000
|
9 |
---
|
10 |
|
11 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|