Spaces:
Build error
Build error
Delete DOCKERFILE
Browse files- DOCKERFILE +0 -33
DOCKERFILE
DELETED
@@ -1,33 +0,0 @@
|
|
1 |
-
FROM python:3.10
|
2 |
-
|
3 |
-
# Install necessary system dependencies
|
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 |
-
build-essential \
|
14 |
-
curl
|
15 |
-
|
16 |
-
# Install Rust
|
17 |
-
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
|
18 |
-
ENV PATH="/root/.cargo/bin:${PATH}"
|
19 |
-
|
20 |
-
# Set up the working directory
|
21 |
-
WORKDIR /home/user/app
|
22 |
-
|
23 |
-
# Copy the requirements.txt file
|
24 |
-
COPY requirements.txt /tmp/requirements.txt
|
25 |
-
|
26 |
-
# Install Python dependencies
|
27 |
-
RUN pip install --no-cache-dir -r /tmp/requirements.txt
|
28 |
-
|
29 |
-
# Copy the application files
|
30 |
-
COPY . /home/user/app
|
31 |
-
|
32 |
-
# Set the entrypoint
|
33 |
-
ENTRYPOINT ["python", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|