-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restructure files for optimized docker build
- Loading branch information
Showing
6 changed files
with
6 additions
and
35 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ node_modules | |
/examples/dist | ||
/examples/.cache | ||
dist/ | ||
/tmp |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,20 +1,17 @@ | ||
FROM node:15.3.0-alpine | ||
FROM node:15.3.0 | ||
|
||
WORKDIR /code/ | ||
|
||
ADD .babelrc /code/.babelrc | ||
ADD tsconfig.json /code/tsconfig.json | ||
ADD package-lock.json /code/package-lock.json | ||
ADD package.json /code/package.json | ||
|
||
RUN npm install | ||
|
||
ADD memserver-boilerplate /code/memserver-boilerplate | ||
ADD vendor /code/vendor/ | ||
ADD packages /code/packages | ||
ADD scripts /code/scripts | ||
ADD src /code/src | ||
ADD test /code/test | ||
|
||
RUN npm run npm-link-ember-packages | ||
RUN node_modules/.bin/tsc | ||
RUN npm run libs:build && npm install | ||
|
||
ENTRYPOINT "/bin/bash" |
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
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