Spaces:
Runtime error
Runtime error
Download Dockerfile from testdeep123/dataset: direct link, hf CLI and curl.
- Browser
- Download file 805 Bytes
-
https://huggingface.co/spaces/testdeep123/dataset/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/testdeep123/dataset/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/testdeep123/dataset/resolve/main/Dockerfile
805 Bytes
| FROM debian:stable | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| # Install dependencies | |
| RUN apt-get update && \ | |
| apt-get install -y wget gnupg git git-lfs && \ | |
| rm -rf /var/lib/apt/lists/* | |
| # Add Amazon Corretto GPG key and repository | |
| RUN wget -O- https://apt.corretto.aws/corretto.key | gpg --dearmor > /usr/share/keyrings/corretto-archive-keyring.gpg && \ | |
| echo "deb [signed-by=/usr/share/keyrings/corretto-archive-keyring.gpg] https://apt.corretto.aws stable main" > /etc/apt/sources.list.d/corretto.list | |
| # Install OpenJDK 21 | |
| RUN apt-get update && \ | |
| apt-get install -y java-21-amazon-corretto-jdk && \ | |
| rm -rf /var/lib/apt/lists/* | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy application files | |
| COPY . /app | |
| # Set permissions | |
| RUN chmod -R 777 /app | |
| # Set default command | |
| CMD ["sh", "start.sh"] | |