Compare commits

...

7 Commits

Author SHA1 Message Date
dependabot[bot] e85807d2eb Bump qs from 6.7.0 to 6.11.0
Bumps [qs](https://github.com/ljharb/qs) from 6.7.0 to 6.11.0.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.7.0...v6.11.0)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 15:01:03 +00:00
Klemek 6c44e5d911 Create docker.yml 2021-06-09 15:33:41 +02:00
Klemek 006f550f33 Merge pull request #6 from Klemek/snyk-fix-3b093f428d75a4c3435020e302401964
[Snyk] Security upgrade socket.io from 2.4.0 to 3.0.0
2021-03-30 10:54:04 +02:00
snyk-bot 739ae0e8c9 fix: package.json & package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-ENGINEIO-1056749
2021-03-30 08:53:20 +00:00
Klemek c9d486529b Merge pull request #5 from Klemek/dependabot/npm_and_yarn/socket.io-2.4.0
Bump socket.io from 2.3.0 to 2.4.0
2021-01-24 10:46:24 +01:00
dependabot[bot] 6cf3ca1ee6 Bump socket.io from 2.3.0 to 2.4.0
Bumps [socket.io](https://github.com/socketio/socket.io) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/2.4.0/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/2.3.0...2.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-21 02:54:29 +00:00
klemek 09d492fb0e Dockerfile support 2021-01-20 19:08:53 +01:00
4 changed files with 331 additions and 432 deletions
+34
View File
@@ -0,0 +1,34 @@
name: Docker
on: ["push", "pull_request"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Build
uses: docker/build-push-action@v2
with:
context: ./
file: ./Dockerfile
builder: ${{ steps.buildx.outputs.name }}
push: false
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new
- name: Move cache
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
Executable
+18
View File
@@ -0,0 +1,18 @@
FROM node:14
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)
COPY package*.json ./
RUN npm install
# If you are building your code for production
# RUN npm ci --only=production
# Bundle app source
COPY . .
CMD [ "sh", "-c", "node server.js" ]
+278 -431
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -5,6 +5,6 @@
"dependencies": { "dependencies": {
"color-convert": "^1.9.3", "color-convert": "^1.9.3",
"express": "^4.17.1", "express": "^4.17.1",
"socket.io": "^2.3.0" "socket.io": "^3.0.0"
} }
} }