Spaces:
Sleeping
Sleeping
final try 3
Browse files- Dockerfile +13 -3
Dockerfile
CHANGED
|
@@ -7,10 +7,20 @@ RUN addgroup --system app && adduser --system --ingroup app app
|
|
| 7 |
WORKDIR /app
|
| 8 |
|
| 9 |
# system deps for Qdrant and psycopg2, cleanup
|
|
|
|
|
|
|
| 10 |
RUN apt-get update \
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
# copy and install Python reqs
|
| 16 |
COPY app/requirements.txt /app/requirements.txt
|
|
|
|
| 7 |
WORKDIR /app
|
| 8 |
|
| 9 |
# system deps for Qdrant and psycopg2, cleanup
|
| 10 |
+
# … earlier lines unchanged …
|
| 11 |
+
|
| 12 |
RUN apt-get update \
|
| 13 |
+
&& apt-get install -y --no-install-recommends build-essential wget ca-certificates \
|
| 14 |
+
&& apt-get install -y --no-install-recommends \
|
| 15 |
+
build-essential \
|
| 16 |
+
wget \
|
| 17 |
+
ca-certificates \
|
| 18 |
+
libpq-dev \
|
| 19 |
+
&& apt-get clean \
|
| 20 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 21 |
+
|
| 22 |
+
# … rest of file unchanged …
|
| 23 |
+
|
| 24 |
|
| 25 |
# copy and install Python reqs
|
| 26 |
COPY app/requirements.txt /app/requirements.txt
|