Skip to content

Commit a4992a4

Browse files
author
Phil Varner
committed
remove black
1 parent 25ebdc4 commit a4992a4

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ FROM python:3.8-slim as base
33
FROM base as builder
44
# Any python libraries that require system libraries to be installed will likely
55
# 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/*
710

811
ENV CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
912

@@ -17,4 +20,4 @@ COPY . /app
1720
ENV PATH=$PATH:/install/bin
1821

1922
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]

stac_fastapi/elasticsearch/setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"requests",
2929
"ciso8601",
3030
"overrides",
31-
"black",
3231
],
3332
"docs": ["mkdocs", "mkdocs-material", "pdocs"],
3433
"server": ["uvicorn[standard]>=0.12.0,<0.14.0"],

0 commit comments

Comments
 (0)