seventh test
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Phillip Nicholas Thern 2022-12-05 08:52:43 +01:00
parent f6f501f794
commit b90258363d
Signed by: nickveliki
GPG Key ID: 9810EF8F924EDF0C
2 changed files with 12 additions and 5 deletions

View File

@ -4,9 +4,7 @@ name: default
steps:
- name: test
image: alpine:3.14
image: node:16.18-alpine3.15
commands:
- apk add bash
- bash
- echo $0
- ip a
- node index.js

9
index.js Normal file
View File

@ -0,0 +1,9 @@
const {createServer} = require("http")
const server = createServer((req, res)=>{
res.writeHead(200)
res.write("Hello, World!")
res.end()
})
server.listen(process.argv[2]||3000)