Skip to content

Commit

Permalink
feat: docker (#23)
Browse files Browse the repository at this point in the history
* feat: Added Dockerfile

* release prep
  • Loading branch information
Robert-W committed Mar 12, 2019
1 parent 98ef115 commit af7bfa3
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Core team members for FHIR at Asymmetrik

* @Robert-W @jonterrylee @lu-c
* @Robert-W @jonterrylee @sshah-asymmetrik
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# [1.2.0](https://github.com/Asymmetrik/graphql-fhir/compare/v1.1.0...v1.2.0) (2019-03-11)


### Features

* Added Dockerfile ([e56f5a0](https://github.com/Asymmetrik/graphql-fhir/commit/e56f5a0))



# [1.1.0](https://github.com/Asymmetrik/graphql-fhir/compare/v1.0.1...v1.1.0) (2019-02-08)


Expand Down
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM node:11-alpine

# Update any outdated packages
RUN apk update

WORKDIR /srv

# Move this separately so install get's cached
COPY package.json /srv/package.json
RUN yarn install --production

# Copy the remaining code over
COPY . /srv/

# By default, use the production command
CMD yarn start
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphql-fhir",
"version": "1.1.0",
"version": "1.2.0",
"description": "A Javascript based GraphQL FHIR server",
"main": "index.js",
"author": "Robert-W <rwinterbottom@asymmetrik.com>>",
Expand Down

0 comments on commit af7bfa3

Please sign in to comment.