-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
23 lines (17 loc) · 861 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM python:3.11.7-slim
LABEL Maintainer="mireya.mmor@gmail.com"
RUN apt update && apt install -y libgeos-dev libproj-dev libnetcdf-dev git pip
RUN echo "-----------------Download OpenDrift -----------------" &&\
git clone https://github.com/simonweppe/opendrift.git /source/opendrift
# git clone https://github.com/OpenDrift/opendrift.git /source/opendrift
COPY . /source/cLCS
RUN pip install --upgrade pip
RUN echo "-----------------Install cLCS -----------------" &&\
# git clone https://github.com/MireyaMMO/cLCS.git /source/cLCS &&\
cd /source/cLCS &&\
pip install -r requirements.txt &&\
pip install --no-deps -e . &&\
cd /source/opendrift &&\
pip install --no-deps -e .
RUN /bin/bash -c "echo -e \"import cartopy\nfor s in ('c', 'l', 'i', 'h', 'f'): cartopy.io.shapereader.gshhs(s)\" | python"
WORKDIR /source/cLCS