Kangarroar commited on
Commit
1ea2ba0
1 Parent(s): 82e5fc6

Delete Dockerfile.latestbackup

Browse files
Files changed (1) hide show
  1. Dockerfile.latestbackup +0 -42
Dockerfile.latestbackup DELETED
@@ -1,42 +0,0 @@
1
- FROM nvidia/cuda:12.0.0-base-ubuntu20.04
2
- ARG DEBIAN_FRONTEND=noninteractive
3
- ENV PYTHONUNBUFFERED=1
4
- ENV PYTHON_INCLUDE /usr/include/python3.8
5
- ENV PYTHON_LIB /usr/lib/x86_64-linux-gnu/libpython3.8.so
6
-
7
- WORKDIR /app
8
- # Install python, git & ffmpeg
9
- RUN apt-get update && apt-get install --no-install-recommends -y \
10
- build-essential \
11
- python3.9 \
12
- python3-pip \
13
- git \
14
- ffmpeg \
15
- && apt-get clean && rm -rf /var/lib/apt/lists/*
16
- COPY ./requirements.txt /app/requirements.txt
17
- COPY ./packages.txt /app/packages.txt
18
- RUN pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
19
- RUN apt-get update && xargs -r -a /app/packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
20
- RUN apt-get update && apt-get install -y python3-dev
21
- RUN apt-get update && apt-get install -y build-essential
22
- RUN which python3
23
- RUN which python3-config
24
- RUN pip3 install --no-cache-dir -r /app/requirements.txt
25
- RUN apt-get update && apt-get install -y build-essential
26
- RUN pip3 install --no-cache-dir numba==0.56.3
27
- RUN pip install --upgrade pip setuptools wheel
28
- RUN pip3 install --no-binary :all: pyworld
29
- RUN pip install soundfile
30
-
31
- WORKDIR /app
32
- # Set up a new user named "user" with user ID 1000
33
- RUN useradd -m -u 1000 user
34
- # Set the working directory to the user's home directory
35
- WORKDIR $HOME/app
36
-
37
- # Copy the current directory contents into the container at $HOME/app setting the owner to the user
38
- COPY --chown=user . $HOME/app
39
-
40
- EXPOSE 8501
41
- CMD nvidia-smi -l
42
- CMD streamlit run app.py --server.maxUploadSize 1024 --server.enableWebsocketCompression=false --server.enableXsrfProtection=false