Skip to content

Commit

Permalink
cobrowsing server
Browse files Browse the repository at this point in the history
  • Loading branch information
remdex committed Oct 1, 2020
1 parent fad3a66 commit 9c08e31
Show file tree
Hide file tree
Showing 11 changed files with 562 additions and 2 deletions.
1 change: 1 addition & 0 deletions Dockerfiles/cobrowse/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
19 changes: 19 additions & 0 deletions Dockerfiles/cobrowse/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM node:14.11.0-slim

LABEL maintainer="Remigijus Kiminas"
LABEL version="1.0"
LABEL description="Docker file for Co-Browsing server."

RUN ["apt-get", "update"]
RUN ["apt-get", "install", "-y", "vim"]
RUN ["apt-get", "install", "-y", "procps"]

RUN mkdir -p /usr/src/
WORKDIR /usr/src/
COPY . /usr/src/

RUN npm install .

EXPOSE 31130

CMD ["node", "server.js"]
347 changes: 347 additions & 0 deletions Dockerfiles/cobrowse/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions Dockerfiles/cobrowse/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "cobrowsing",
"version": "1.0.0",
"description": "CoBrowsing NodeJS Server",
"main": "server.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node server.js"
},
"author": "Remigijus Kiminas",
"license": "ISC",
"dependencies": {
"socket.io": "^2.3.0"
}
}
Loading

0 comments on commit 9c08e31

Please sign in to comment.