-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathserver.Dockerfile
More file actions
30 lines (23 loc) · 1010 Bytes
/
server.Dockerfile
File metadata and controls
30 lines (23 loc) · 1010 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM satapps/dask-datacube:v3.2.22
LABEL maintainer="Emily Selwood <emily.selwood@sa.catapult.org.uk>"
COPY . /app/
WORKDIR /app/
RUN chmod 777 /app/
RUN apt-get --allow-releaseinfo-change update \
&& apt-get install -yq --no-install-recommends \
git \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir --upgrade pip setuptools wheel \
&& pip install --no-cache-dir --extra-index-url="https://packages.dea.ga.gov.au" -r requirements.txt
RUN mamba install --yes \
-c conda-forge \
geopandas \
hdmedians \
&& conda clean -tipsy \
&& find /opt/conda/ -type f,l -name '*.a' -delete \
&& find /opt/conda/ -type f,l -name '*.pyc' -delete \
&& find /opt/conda/ -type f,l -name '*.js.map' -delete \
&& rm -rf /opt/conda/pkgs
RUN pip install --no-cache-dir \
git+https://github.com/SatelliteApplicationsCatapult/datacube-utilities.git#egg=datacube_utilities
CMD ["python", "-m", "cubequery.api_server"]