Skip to content

Commit efb7c92

Browse files
committed
Initial commit
0 parents  commit efb7c92

28 files changed

+14226
-0
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# See https://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
6+
# testing
7+
/coverage
8+
9+
# production
10+
/build
11+
12+
# misc
13+
.DS_Store
14+
.env.local
15+
.env.development.local
16+
.env.test.local
17+
.env.production.local
18+
19+
npm-debug.log*
20+
yarn-debug.log*
21+
yarn-error.log*

Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# build environment
2+
FROM node:9.6.1 as builder
3+
RUN mkdir -p /usr/src/app
4+
WORKDIR /usr/src/app
5+
ENV PATH /usr/src/app/node_modules/.bin:$PATH
6+
COPY package.json /usr/src/app/package.json
7+
RUN npm install --silent
8+
RUN npm install [email protected] -g --silent
9+
COPY . /usr/src/app
10+
RUN npm run build
11+
12+
13+
# production environment
14+
FROM nginx:1.13.9-alpine
15+
COPY --from=builder /usr/src/app/build /usr/share/nginx/html
16+
EXPOSE 80
17+
CMD ["nginx", "-g", "daemon off;"]

README.md

Lines changed: 2444 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)