-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
20 lines (15 loc) · 721 Bytes
/
Copy pathDockerfile
File metadata and controls
20 lines (15 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# !!!!!! Importante note: this container will have two python3 versions: python3 is the python3.5, if you wish to use the python3.7 you have to specify.
# Use the official gcloud sdk runtime as a parent image
FROM us.gcr.io/infusionsoft-looker-poc/vanilla-gcp
# Set the working directory to /drift
WORKDIR /optimizely
# Install git
RUN apt-get -y install git
# git init repo
RUN git init
RUN git remote add origin https://infusionsoft-machine-user:3e783661553714ff861b8556c3d1eb582c2e9224@github.com/InfusionsoftAnalytics/optimizely.git
RUN git pull origin master
# install packages
RUN python3.7 -m pip install -r requirements.txt
# pull in service account
RUN gsutil cp gs://keyfiles_keap/optimizely_svcacc.json .