-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Demo app updated - New Demo App section to the README file
- Loading branch information
1 parent
2fb4d9d
commit 7c572a4
Showing
6 changed files
with
27 additions
and
2,275 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
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 @@ | ||
package-lock=false |
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,19 +1,17 @@ | ||
FROM node:carbon | ||
FROM node:10 | ||
|
||
WORKDIR /demo | ||
|
||
ENV CHROME_BIN=/usr/bin/google-chrome-stable | ||
EXPOSE 8080 | ||
|
||
# Install Chrome | ||
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - | ||
RUN sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' | ||
RUN apt-get update && apt-get install -y google-chrome-stable | ||
|
||
ENV CHROME_BIN=/usr/bin/google-chrome-stable | ||
|
||
COPY package*.json /demo/ | ||
|
||
# RUN npm install | ||
COPY package.json . | ||
|
||
# Bundle app source | ||
# COPY . . | ||
RUN npm install | ||
|
||
# EXPOSE 8080 | ||
COPY . . |
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
Oops, something went wrong.