Skip to content

Commit

Permalink
[skyapi] refs fibercrypto#14 - Create Dockerfile and .dockerignore files
Browse files Browse the repository at this point in the history
  • Loading branch information
cbermudez97 committed Mar 30, 2019
1 parent 812665a commit 8e178d6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*/node_modules
21 changes: 21 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM node

WORKDIR /skyapi-typescript

COPY ../dev/lib/skyapi/typescript-axios/package*.json ./skyapi-axios/

COPY ../dev/lib/skyapi/typescript-node/package*.json ./skyapi-node/

RUN (cd ./skyapi-axios/ && npm install)

RUN (cd ./skyapi-node/ && npm install)

COPY ../dev/lib/skyapi/typescript-axios/* ./skyapi-axios/

COPY ../dev/lib/skyapi/typescript-node/* ./skyapi-node/

RUN (cd ./skyapi-axios/ && npm run build)

RUN (cd ./skyapi-node/ && npm run build)

CMD ["bash"]

0 comments on commit 8e178d6

Please sign in to comment.