Spaces:
Runtime error
Runtime error
| FROM ubuntu:22.04 | |
| # Update the components and install deps | |
| RUN apt update && apt -y upgrade && \ | |
| apt install -y git nodejs npm | |
| # Set up a new user named "user" with user ID 1000 | |
| RUN useradd -m -u 1000 user && \ | |
| chmod -R 777 /opt | |
| # Switch to the "user" user | |
| USER user | |
| # Force rebuild | |
| ADD "https://www.random.org/cgi-bin/randbyte?nbytes=10&format=h" skipcache | |
| RUN git clone https://huggingface.co/datasets/fxmarty/transformers-regressions /opt/transformers-regressions && \ | |
| cd /opt/transformers-regressions/dana && \ | |
| npm install | |
| WORKDIR /opt/transformers-regressions/dana | |
| CMD ["npm", "start"] | |