-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |