NeoPy commited on
Commit
0cc5786
·
verified ·
1 Parent(s): 7956ce6

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -34
Dockerfile DELETED
@@ -1,34 +0,0 @@
1
- # Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
2
- # you will also find guides on how best to write your Dockerfile
3
-
4
- FROM python:3.11
5
-
6
- # Install system dependencies
7
- RUN apt-get update && apt-get install -y \
8
- git \
9
- ffmpeg \
10
- && rm -rf /var/lib/apt/lists/*
11
-
12
- # Create user
13
- RUN useradd -m -u 1000 user
14
- USER user
15
- ENV PATH="/home/user/.local/bin:$PATH"
16
-
17
- # Set working directory
18
- WORKDIR /app
19
-
20
- # Clone the repository first
21
- RUN git clone https://github.com/ArkanDash/Advanced-RVC-Inference.git .
22
-
23
- # Install Python dependencies
24
- COPY --chown=user ./requirements.txt requirements.txt
25
- RUN pip install --no-cache-dir --upgrade -r requirements.txt
26
-
27
- # Copy the rest of the application files
28
- COPY --chown=user . /app
29
-
30
- # Expose the port
31
- EXPOSE 7860
32
-
33
- # Run the application
34
- CMD ["python", "advanced_rvc_inference/app.py"]