Skip to content

Commit

Permalink
[skyapi] refs fibercrypto#14 - Update Dockerfile to work with the rel…
Browse files Browse the repository at this point in the history
…ocated clients
  • Loading branch information
stdevCbermudez committed Apr 12, 2019
1 parent 292e667 commit 778fe18
Show file tree
Hide file tree
Showing 3 changed files with 797 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ 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
docker run -v ${PWD}/tests:/skyapi-typescript/tests -it --name=skyapi-typescript skyapi/typescript
16 changes: 4 additions & 12 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,13 @@ FROM node

WORKDIR /skyapi-typescript

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

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

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

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

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

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

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

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

RUN apt-get update -y && apt-get install vim -y && apt-get install nano -y

Expand Down
Loading

0 comments on commit 778fe18

Please sign in to comment.