-
Notifications
You must be signed in to change notification settings - Fork 9
/
Dockerfile
26 lines (20 loc) · 633 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
FROM ubuntu:14.04
# Install Node.js
RUN apt-get update
RUN apt-get install --yes curl
RUN curl -sL https://deb.nodesource.com/setup_6.x | sudo bash -
RUN apt-get install --yes nodejs
RUN apt-get install --yes build-essential
# Install Git
RUN apt-get install --yes git
RUN mkdir -p /opt/apigee/edge-launchpad
RUN mkdir -p /opt/apigee/deploy
# Copy src files
# Note .dockerignore
COPY . /opt/apigee/edge-launchpad
COPY ./gulpfile.js /opt/apigee/deploy
COPY ./package.json.docker /opt/apigee/deploy/package.json
RUN cd /opt/apigee/deploy && npm install
# Install gulp cli
RUN npm install -g gulp-cli
WORKDIR /opt/apigee/deploy