diff --git a/images/replication-job/Dockerfile b/images/replication-job/Dockerfile index 6ea7a53d..5594a3f7 100644 --- a/images/replication-job/Dockerfile +++ b/images/replication-job/Dockerfile @@ -1,12 +1,16 @@ FROM developmentseed/osmseed-osm-processor:0.1.0-n795.h1c8d32f -# Install Nginx RUN apt-get update && \ - apt-get install -y nginx && \ + apt-get install -y nginx python3-pip python3-venv && \ rm -rf /var/lib/apt/lists/* - -RUN pip3 install boto3 + +RUN python3 -m venv /opt/venv +ENV PATH="/opt/venv/bin:$PATH" +RUN pip install --no-cache-dir boto3 + COPY ./*.sh / COPY monitoring.py / + WORKDIR /mnt/data -CMD /start.sh + +CMD /start.sh \ No newline at end of file