Skip to content

Commit cf6573b

Browse files
committed
Dockerfile
1 parent 0ab5fc1 commit cf6573b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

examples/pip_docker/Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM python:3.10-slim
2+
3+
4+
# update apt pkgs, and install build-essential for ciso8601
5+
RUN apt-get update && \
6+
apt-get -y upgrade && \
7+
apt-get install -y build-essential && \
8+
apt-get clean && \
9+
rm -rf /var/lib/apt/lists/*
10+
11+
# update certs used by Requests
12+
ENV CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
13+
14+
WORKDIR /app
15+
16+
COPY . /app
17+
18+
RUN pip install stac-fastapi.elasticsearch==0.3.0

0 commit comments

Comments
 (0)