forked from fibercrypto/libjs-skycoin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[skyapi] refs fibercrypto#14 - Create Dockerfile and .dockerignore files
- Loading branch information
cbermudez97
committed
Mar 30, 2019
1 parent
812665a
commit 8e178d6
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*/node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |