-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
30 lines (21 loc) · 884 Bytes
/
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
FROM akariv/dgp-app:87a46876acf4dae6022784c04942bd2c6704a4e0
USER root
RUN apt-get update && apt-get install -y curl gnupg wget unzip build-essential libsqlite3-dev zlib1g-dev procps ca-certificates
RUN update-ca-certificates --fresh
RUN wget https://github.com/mapbox/tippecanoe/archive/refs/tags/1.36.0.zip && \
unzip 1.36.0.zip && rm 1.36.0.zip
RUN cd tippecanoe-1.36.0 && make -j && make install
USER etl
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY configuration.json dags/
COPY logo.png ui/dist/ui/en/assets/logo.png
COPY favicons/* ui/dist/ui/
COPY logo.png site/static/assets/img/logo.png
COPY events dags/events
COPY operators dags/operators/
COPY srm_tools srm_tools
COPY conf conf
ENV AIRFLOW__LOGGING__LOG_FORMAT="%(asctime)s:%(levelname)-8s:%(name)s:%(message)s"
COPY srm_etl_entrypoint.sh /app/
ENTRYPOINT ["/app/srm_etl_entrypoint.sh"]