File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
stac_fastapi/elasticsearch Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,10 @@ FROM python:3.8-slim as base
3
3
FROM base as builder
4
4
# Any python libraries that require system libraries to be installed will likely
5
5
# need the following packages in order to build
6
- RUN apt-get update && apt-get install -y build-essential git
6
+ RUN apt-get update && \
7
+ apt-get install -y build-essential git && \
8
+ apt-get clean && \
9
+ rm -rf /var/lib/apt/lists/*
7
10
8
11
ENV CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
9
12
@@ -17,4 +20,4 @@ COPY . /app
17
20
ENV PATH=$PATH:/install/bin
18
21
19
22
RUN mkdir -p /install && \
20
- pip install -e ./stac_fastapi/elasticsearch[dev,server]
23
+ pip install --no-cache-dir - e ./stac_fastapi/elasticsearch[dev,server]
Original file line number Diff line number Diff line change 28
28
"requests" ,
29
29
"ciso8601" ,
30
30
"overrides" ,
31
- "black" ,
32
31
],
33
32
"docs" : ["mkdocs" , "mkdocs-material" , "pdocs" ],
34
33
"server" : ["uvicorn[standard]>=0.12.0,<0.14.0" ],
You can’t perform that action at this time.
0 commit comments