unijoh commited on
Commit
0381659
1 Parent(s): bc49ebc

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -45
Dockerfile DELETED
@@ -1,45 +0,0 @@
1
- FROM python:3.10
2
-
3
- # Install system dependencies and Rust
4
- RUN apt-get update && apt-get install -y \
5
- git \
6
- git-lfs \
7
- ffmpeg \
8
- libsm6 \
9
- libxext6 \
10
- cmake \
11
- rsync \
12
- libgl1-mesa-glx \
13
- curl \
14
- build-essential \
15
- && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
16
- && rm -rf /var/lib/apt/lists/* \
17
- && git lfs install
18
-
19
- # Set environment variables for Rust
20
- ENV PATH="/root/.cargo/bin:${PATH}"
21
-
22
- # Set working directory
23
- WORKDIR /home/user/app
24
-
25
- # Upgrade pip
26
- RUN pip install --no-cache-dir --upgrade pip
27
-
28
- # Copy the requirements file
29
- COPY requirements.txt /tmp/requirements.txt
30
-
31
- # Install Python dependencies
32
- RUN pip install --no-cache-dir -r /tmp/requirements.txt
33
-
34
- # Copy the rest of the application code
35
- COPY . .
36
-
37
- # Set the environment variable for Gradio
38
- ENV GRADIO_SERVER_NAME="0.0.0.0"
39
- ENV GRADIO_SERVER_PORT=7860
40
-
41
- # Expose the Gradio server port
42
- EXPOSE 7860
43
-
44
- # Run the application
45
- CMD ["python", "app.py"]