File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -235,22 +235,18 @@ To use the latest version of pyClowder we recommend choosing a base image of you
235235
236236```
237237# Base image
238- FROM ubuntu:20.04
238+ FROM python:3-slim
239239
240240# Creating workdir
241241WORKDIR /home/clowder
242242
243- # Adding necessary code to container under workdir
244- COPY <MY.CODE>.py extractor_info.json /home/clowder/
245-
246- # Install pip
247- RUN apt-get update && \
248- apt-get install -y python3-pip
249-
250243# Install pyClowder and any other python dependencies
251244COPY requirements.txt .
252245RUN pip3 install -r requirements.txt
253246
247+ # Adding necessary code to container under workdir
248+ COPY <MY.CODE>.py extractor_info.json /home/clowder/
249+
254250# Command to be run when container is run
255251CMD python3 <MY.CODE>.py
256252```
You can’t perform that action at this time.
0 commit comments