Skip to content

Commit 1008f90

Browse files
authored
Merge pull request nexmo-se#100 from nexmo-se/develop
Update to 0.2.7
2 parents 264fb97 + dc9bf2f commit 1008f90

File tree

6 files changed

+68
-3
lines changed

6 files changed

+68
-3
lines changed

.dockerignore

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
.idea
2+
.vscode
3+
.git
4+
.nyc_output
5+
6+
coverage
7+
__mocks__
8+
__tests__
9+
.babelrc
10+
11+
mock-server
12+
node_modules
13+
build
14+
15+
.dockerignore
16+
*.env*
17+
.eslintrc
18+
.eslintcache
19+
.gitignore
20+
.gitlab-ci.yml
21+
.github
22+
.prettier
23+
CHANGELOG.md
24+
Dockerfile
25+
README.md
26+
*.log
27+
.nvmrc
28+
.npmrc
29+
CONTRIBUTING.md
30+
docs

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.2.7 (April 4, 2022)
2+
3+
- Added Docker support
4+
15
# 0.2.6 (March 11, 2022)
26

37
- Updated VVE to `@vonage/video-express: 1.1.4`

Dockerfile

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
FROM node:14-alpine as build
2+
3+
ENV NODE_ENV=production
4+
5+
WORKDIR /build-dir
6+
7+
COPY package*json ./
8+
9+
RUN npm ci
10+
11+
COPY . .
12+
13+
RUN npm run build
14+
15+
RUN echo "commit: $COMMIT_SHA" >> ./commit.sha
16+
17+
########################################################################################################################
18+
19+
FROM node:14-alpine
20+
21+
ENV NODE_ENV=production
22+
ENV VIDEO_API_API_KEY=$VIDEO_API_API_KEY
23+
ENV VIDEO_API_API_SECRET=$VIDEO_API_API_SECRET
24+
25+
WORKDIR /home/node/app
26+
27+
COPY --from=build /build-dir ./
28+
29+
USER node
30+
31+
CMD ["npm", "run", "server-prod"]

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "video-express-react-app",
3-
"version": "0.2.6",
3+
"version": "0.2.7",
44
"private": true,
55
"engines": {
66
"node": "14.x"

src/components/WaitingRoom/styles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default makeStyles((theme) => ({
1212
backgroundColor: blueGrey[100],
1313
padding: '25px',
1414
borderRadius: 5,
15-
width: '360px',
15+
width: '400px'
1616
// height: '90%',
1717
},
1818
formControl: {

0 commit comments

Comments
 (0)