Skip to content

Commit

Permalink
Update replication job container
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Oct 5, 2024
1 parent 3629766 commit 42e9c1e
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions images/replication-job/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 42e9c1e

Please sign in to comment.