Skip to content

Commit

Permalink
Merge pull request #1 from kids-first/ops
Browse files Browse the repository at this point in the history
Dockerfile + Jenkinsfile
  • Loading branch information
Jeremy Costanza authored Oct 9, 2019
2 parents b8b9311 + 1ebf3dc commit 05a73c8
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,7 @@ typings/

# next.js build output
.next

# IntelliJ
*.iml
.idea
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM node:10-alpine

# Create app directory
WORKDIR /usr/src/app

# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)
COPY package*.json ./

RUN npm install
RUN npm ci --only=production

# Bundle app source
COPY . .

CMD [ "node", "index.js" ]
5 changes: 5 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@Library(value='kids-first/aws-infra-jenkins-shared-libraries', changelog=false) _
ecs_service_type_1 {
projectName = "kf-api-portal-reports"
agentLabel = "terraform-testing"
}

0 comments on commit 05a73c8

Please sign in to comment.