CrazyT commited on
Commit
488812b
β€’
1 Parent(s): e485446

change directly to docker

Browse files
Files changed (2) hide show
  1. Dockerfile.txt +13 -0
  2. README.md +1 -4
Dockerfile.txt ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM docker.io/library/python:3.7.13@sha256:8b743b1af852e554b98e2377f9c92221693225b85d984b23be6b033018f97cc3
2
+ RUN useradd -m -u 1000 user
3
+ RUN pip install --no-cache-dir pip==22.3.1 && pip install --no-cache-dir datasets "huggingface-hub>=0.12.1" "protobuf<4" "click<8.1" "pydantic~=1.0"
4
+ RUN apt-get update && apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake libgl1-mesa-glx && rm -rf /var/lib/apt/lists/* && git lfs install
5
+ RUN wget http://developer.download.nvidia.com/compute/cuda/7.5/Prod/local_installers/cuda_7.5.18_linux.run
6
+ RUN apt-get update && apt-get install dkms build-essential linux-headers-$(uname -r) apt-get install gcc g++ gcc-4.8 g++-4.8 gcc-4.9 g++-4.9 libxi6 libxi-dev libglu1-mesa libglu1-mesa-dev libxmu6 linux-headers-amd64 linux-source freeglut3-dev
7
+ RUN sh cuda_7.5.18_linux.run
8
+ WORKDIR /home/user/app
9
+ RUN --mount=target=/root/packages.txt,source=packages.txt apt-get update && xargs -r -a /root/packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
10
+ #Restoring cache
11
+ RUN --mount=target=pre-requirements.txt,source=pre-requirements.txt pip install --no-cache-dir -r pre-requirements.txt
12
+ RUN --mount=target=requirements.txt,source=requirements.txt pip install --no-cache-dir -r requirements.txt
13
+ ENTRYPOINT ["python", "app.py"]
README.md CHANGED
@@ -3,10 +3,7 @@ title: Dynamic3DGaussians
3
  emoji: πŸ“Š
4
  colorFrom: purple
5
  colorTo: purple
6
- sdk: gradio
7
- sdk_version: 4.2.0
8
- python_version: 3.7.13
9
- app_file: app.py
10
  pinned: false
11
  license: mit
12
  models:
 
3
  emoji: πŸ“Š
4
  colorFrom: purple
5
  colorTo: purple
6
+ sdk: docker
 
 
 
7
  pinned: false
8
  license: mit
9
  models: