Spaces:
Sleeping
Sleeping
Delete Dockerfile
Browse files- Dockerfile +0 -27
Dockerfile
DELETED
@@ -1,27 +0,0 @@
|
|
1 |
-
# syntax=docker/dockerfile:1.2
|
2 |
-
FROM python:3.10
|
3 |
-
|
4 |
-
WORKDIR /home/user/app
|
5 |
-
|
6 |
-
RUN apt-get update && apt-get install -y \
|
7 |
-
git \
|
8 |
-
git-lfs \
|
9 |
-
ffmpeg \
|
10 |
-
libsm6 \
|
11 |
-
libxext6 \
|
12 |
-
cmake \
|
13 |
-
rsync \
|
14 |
-
libgl1-mesa-glx \
|
15 |
-
&& rm -rf /var/lib/apt/lists/* \
|
16 |
-
&& git lfs install
|
17 |
-
|
18 |
-
COPY requirements.txt .
|
19 |
-
|
20 |
-
# Use the GitHub token to install the private repo
|
21 |
-
RUN --mount=type=secret,id=github_token \
|
22 |
-
GITHUB_TOKEN=$(cat /run/secrets/github_token) \
|
23 |
-
pip install --no-cache-dir -r requirements.txt
|
24 |
-
|
25 |
-
COPY . .
|
26 |
-
|
27 |
-
CMD ["streamlit", "run", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|