File tree Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 1
1
name : Build Docker images
2
2
on : push
3
3
jobs :
4
+ audit-npm-dependencies :
5
+ runs-on : ubuntu-latest
6
+ steps :
7
+ - name : Checkout repository
8
+ uses : actions/checkout@v3
9
+
10
+ - name : Install Nodejs
11
+ uses : actions/setup-node@v3
12
+ with :
13
+ node-version : 16.18.0
14
+ cache : " npm"
15
+
16
+ - name : Audit NPM dependencies
17
+ run : npm audit
18
+
4
19
build-and-push-docker-images :
5
20
runs-on : ubuntu-latest
21
+ needs : audit-npm-dependencies
6
22
steps :
7
23
- name : Checkout repository
8
24
uses : actions/checkout@v3
Original file line number Diff line number Diff line change 1
- FROM node:16.17.1 -alpine
1
+ FROM node:16.18.0 -alpine
2
2
3
3
LABEL maintainer="Johan Book"
4
4
LABEL title="domain-file-server"
Original file line number Diff line number Diff line change 1
1
# file-domain-server
2
2
3
- _ This software has not been tested in regards of security and should not be used
4
- in a production environment_
5
-
6
3
** file-domain-server** is a simplistic Nodejs HTTP file server that serve
7
4
different folders depending on the HTTP ` Host ` header. It is mainly intended to
8
5
run an internal network with its own DNS server.
You can’t perform that action at this time.
0 commit comments