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
# This is a multi-stage build to not spill the contents of the deploy_key | |
FROM mhart/alpine-node:10 as base | |
# We need git and openssh to resolve `git+ssh` links in package.json | |
RUN apk update \ | |
&& apk add git openssh | |
WORKDIR /usr/src | |
COPY package*.json ./ |
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
import logging as log | |
import datetime | |
from datetime import timedelta | |
import requests | |
import numpy as np | |
# The DAG object; we'll need this to instantiate a DAG | |
from airflow import DAG | |
from airflow.models import Variable |