We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61c2c21 commit ab70781Copy full SHA for ab70781
Dockerfile.mongo
@@ -0,0 +1,23 @@
1
+FROM python:3.8-slim as base
2
+
3
+FROM base as builder
4
+# Any python libraries that require system libraries to be installed will likely
5
+# need the following packages in order to build
6
+RUN apt-get update && apt-get install -y build-essential git
7
8
+ENV CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
9
10
+ARG install_dev_dependencies=true
11
12
+WORKDIR /app
13
14
+# Install stac_fastapi.types
15
+COPY . /app
16
17
+ENV PATH=$PATH:/install/bin
18
19
+RUN mkdir -p /install && \
20
+ pip install -e ./stac_fastapi/types[dev] && \
21
+ pip install -e ./stac_fastapi/api[dev] && \
22
+ pip install -e ./stac_fastapi/extensions[dev] && \
23
+ pip install -e ./stac_fastapi/mongo[dev,server]
0 commit comments