Spaces:
Runtime error
Runtime error
hep
Browse files- Dockerfile +0 -11
Dockerfile
CHANGED
@@ -1,14 +1,5 @@
|
|
1 |
FROM python:3.10
|
2 |
|
3 |
-
RUN apt-get update && apt-get install -y \
|
4 |
-
git \
|
5 |
-
git-lfs \
|
6 |
-
ffmpeg \
|
7 |
-
libsm6 \
|
8 |
-
libxext6 \
|
9 |
-
cmake \
|
10 |
-
libgl1-mesa-glx
|
11 |
-
|
12 |
# User
|
13 |
RUN useradd -m -u 1000 user
|
14 |
USER user
|
@@ -16,10 +7,8 @@ ENV HOME=/home/user \
|
|
16 |
PATH=/home/user/.local/bin:$PATH
|
17 |
WORKDIR /home/user/app
|
18 |
|
19 |
-
RUN pip install --no-cache-dir pip==22.3.1
|
20 |
RUN pip install --no-cache-dir https://gradio-builds.s3.amazonaws.com/f4d696f71f3fc2f5fd8f9d5f5287cb1d27ef93d4/gradio-3.39.0-py3-none-any.whl
|
21 |
|
22 |
-
COPY --link --chown=1000 --from=lfs /app /home/user/app
|
23 |
COPY --link --chown=1000 ./ /home/user/app
|
24 |
ENV PYTHONPATH=$HOME/app \
|
25 |
PYTHONUNBUFFERED=1 \
|
|
|
1 |
FROM python:3.10
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
# User
|
4 |
RUN useradd -m -u 1000 user
|
5 |
USER user
|
|
|
7 |
PATH=/home/user/.local/bin:$PATH
|
8 |
WORKDIR /home/user/app
|
9 |
|
|
|
10 |
RUN pip install --no-cache-dir https://gradio-builds.s3.amazonaws.com/f4d696f71f3fc2f5fd8f9d5f5287cb1d27ef93d4/gradio-3.39.0-py3-none-any.whl
|
11 |
|
|
|
12 |
COPY --link --chown=1000 ./ /home/user/app
|
13 |
ENV PYTHONPATH=$HOME/app \
|
14 |
PYTHONUNBUFFERED=1 \
|