You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you need any python packages installed you will need to create file called requiremenets.txt. If this file exists
225
232
the docker build process will use `pip install -r requirements.txt` to install these packages.
226
233
234
+
To use the latest version of pyClowder we recommend choosing a base image of your choice and install pyClowder by adding it to the requirements.txt file. An example Dockerfile is below:
235
+
236
+
```
237
+
# Base image
238
+
FROM python:3-slim
239
+
240
+
# Creating workdir
241
+
WORKDIR /home/clowder
242
+
243
+
# Install pyClowder and any other python dependencies
244
+
COPY requirements.txt .
245
+
RUN pip3 install -r requirements.txt
246
+
247
+
# Adding necessary code to container under workdir
Motivation: design and implement a simple extractor to bridge Python developer and knowledge of PyClowder library. It requires little effort for Python developers to wrap their python code into Clowder's extractors.
0 commit comments