-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
38 lines (33 loc) · 1.01 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
FROM debian:bullseye-slim
LABEL maintainer="Raffaele Di Stefano <[email protected]>"
ENV DEBIAN_FRONTEND=noninteractive
# Installing all needed applications
RUN apt-get clean \
&& apt-get update \
&& apt-get dist-upgrade -y --no-install-recommends \
&& apt-get install -y \
python3 \
python3-pip \
gcc \
build-essential \
systemd \
wget \
zip \
curl \
vim
# Adding python3 libraries
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install numpy
RUN python3 -m pip install obspy
RUN python3 -m pip install pyrocko
RUN python3 -m pip install plotly
#RUN python3 -m pip install sklearn
RUN python3 -m pip install scipy
RUN python3 -m pip install pandas
RUN python3 -m pip install geographiclib
COPY ./dbona_magnitudes_stations_corrections_extended_mq.csv /opt/dbona_magnitudes_stations_corrections_extended_mq.csv
COPY ./pyml.py /opt/pyml.py
COPY entrypoint.sh /opt
#
WORKDIR /opt
ENTRYPOINT ["bash", "/opt/entrypoint.sh"]