Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -2,7 +2,7 @@ FROM python:3.10
|
|
2 |
|
3 |
WORKDIR /app
|
4 |
|
5 |
-
COPY ./
|
6 |
COPY ./packages.txt /app/packages.txt
|
7 |
COPY ./apply_model.py /app/apply_model.py
|
8 |
COPY ./explore.py /app/explore.py
|
@@ -16,7 +16,7 @@ COPY ./utils /app/utils
|
|
16 |
RUN apt-get update && xargs -r -a /app/packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
|
17 |
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
|
18 |
RUN pip install --upgrade pip
|
19 |
-
RUN pip3 install --no-cache-dir -
|
20 |
|
21 |
# User
|
22 |
RUN useradd -m -u 1000 user
|
|
|
2 |
|
3 |
WORKDIR /app
|
4 |
|
5 |
+
COPY ./requirements.txt /app/requirements.txt
|
6 |
COPY ./packages.txt /app/packages.txt
|
7 |
COPY ./apply_model.py /app/apply_model.py
|
8 |
COPY ./explore.py /app/explore.py
|
|
|
16 |
RUN apt-get update && xargs -r -a /app/packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
|
17 |
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
|
18 |
RUN pip install --upgrade pip
|
19 |
+
RUN pip3 install --no-cache-dir -r /app/requirements.txt
|
20 |
|
21 |
# User
|
22 |
RUN useradd -m -u 1000 user
|