-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sean P. Kane
committed
May 31, 2018
1 parent
ccd743b
commit 5d473f7
Showing
2 changed files
with
37 additions
and
1 deletion.
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,20 @@ | ||
FROM node:9.3-alpine | ||
|
||
# If Github throtlling is an issue try building with something like: | ||
# docker build --build-arg JSPM_GITHUB_AUTH_TOKEN="a_jspm_encrypted_github_token" . | ||
|
||
ARG JSPM_GITHUB_AUTH_TOKEN="" | ||
RUN mkdir /app | ||
WORKDIR /app | ||
ADD . /app | ||
RUN apk add --no-cache git && \ | ||
npm install --global karma-cli && \ | ||
npm install jspm -g && \ | ||
jspm config registries.github.auth ${JSPM_GITHUB_AUTH_TOKEN} && \ | ||
npm install http-server -g && \ | ||
npm install && \ | ||
jspm install -y && \ | ||
jspm bundle-sfx --minify app && \ | ||
jspm config registries.github.auth "" | ||
CMD ["http-server",".","-p","8080"] | ||
|
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