Skip to content

Commit

Permalink
[skyapi] refs fibercrypto#14 - Add rules to create the docker image a…
Browse files Browse the repository at this point in the history
…nd run it
  • Loading branch information
cbermudez97 committed Apr 3, 2019
1 parent 70c7150 commit adbc831
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,9 @@ build_node_client:

build_tester:
(cd './dev/tester/' && npm run setup)

docker_build:
docker build -t skyapi/typescript -f ./docker/Dockerfile .

docker_run:
docker run -v ${PWD}/dev/tester:/skyapi-typescript/dev/tester -it --name=skyapi-typescript skyapi/typescript
4 changes: 0 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,4 @@ RUN (cd ./dev/lib/skyapi/typescript-axios/ && npm run build )

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

COPY dev/tester ./dev/tester

RUN (cd ./dev/tester/ && npm install)

CMD ["bash"]

0 comments on commit adbc831

Please sign in to comment.