Skip to content

Commit

Permalink
[skyapi] refs fibercrypto#14 - Fix some problems with Dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbermudez97 committed Mar 30, 2019
1 parent 8e178d6 commit 70c7150
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,24 @@ FROM node

WORKDIR /skyapi-typescript

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

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

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

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

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

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

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

RUN (cd ./skyapi-node/ && 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 70c7150

Please sign in to comment.