Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -11,15 +11,15 @@ ENV PATH="/home/user/.local/bin:$PATH"
|
|
11 |
# Set the working directory
|
12 |
WORKDIR /app
|
13 |
|
14 |
-
# Copy the requirements and install dependencies
|
15 |
-
COPY --chown=user ./requirements.txt requirements.txt
|
16 |
-
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
17 |
-
|
18 |
RUN apt-get update \
|
19 |
&& apt-get install -y --no-install-recommends \
|
20 |
poppler-utils \
|
21 |
&& rm -rf /var/lib/apt/lists/*
|
22 |
|
|
|
|
|
|
|
|
|
23 |
# Copy the rest of the application
|
24 |
COPY --chown=user . /app
|
25 |
|
|
|
11 |
# Set the working directory
|
12 |
WORKDIR /app
|
13 |
|
|
|
|
|
|
|
|
|
14 |
RUN apt-get update \
|
15 |
&& apt-get install -y --no-install-recommends \
|
16 |
poppler-utils \
|
17 |
&& rm -rf /var/lib/apt/lists/*
|
18 |
|
19 |
+
# Copy the requirements and install dependencies
|
20 |
+
COPY --chown=user ./requirements.txt requirements.txt
|
21 |
+
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
22 |
+
|
23 |
# Copy the rest of the application
|
24 |
COPY --chown=user . /app
|
25 |
|