Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 95b5fed

Browse files
authoredMay 18, 2020
Added a Dockerfile for building packages (#92)
1 parent 0941041 commit 95b5fed

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
 

‎CONTRIBUTING.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ You can also use these more granular scripts:
2727
- `yarn compat`: check that APIs do not introduce breaking changes
2828
- `yarn lint`: run eslint and API compatibility
2929

30+
### Docker Build
31+
32+
If you want to use docker to build, test and package your work use the following:
33+
34+
```shell script
35+
docker build -t constructs .
36+
```
37+
3038
### Using a local version of this library in a dependency
3139

3240
If you're doing changes to this library,

‎Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM jsii/superchain
2+
3+
WORKDIR /app
4+
5+
ARG BUILD_ARGS
6+
7+
COPY . .
8+
9+
RUN yarn install && yarn build ${BUILD_ARGS}
10+

0 commit comments

Comments
 (0)
Please sign in to comment.