forked from opendsm/eeweather
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (24 loc) · 756 Bytes
/
Dockerfile
File metadata and controls
29 lines (24 loc) · 756 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
FROM python:3.10.10-bullseye
# bullseye required for GEOS>3.7.1 which is needed for newest cartopy
RUN apt-get update \
&& apt-get install -yqq \
# sphinxcontrib-spelling dependency
libenchant-2-dev \
# geo libraries
binutils libproj-dev gdal-bin libgeos-dev \
# unzip for rebuilding metadata.db
unzip \
# node for mapshaper
nodejs npm \
# for access to metadata.db
sqlite3 libsqlite3-dev
RUN npm install -g mapshaper
COPY Pipfile Pipfile
COPY Pipfile.lock Pipfile.lock
RUN pip install pipenv
RUN set -ex && pipenv install --system --deploy --dev
ENV PYTHONPATH=/app
COPY setup.py README.rst /app/
COPY eeweather/ /app/eeweather
RUN set -ex && cd /usr/local/lib/ && python /app/setup.py develop
WORKDIR /app