seccon22-noiseccon

Seccon 2022 Qualifier Challenge 'Noiseccon'
git clone https://git.sinitax.com/sinitax/seccon22-noiseccon
Log | Files | Refs | sfeed.txt

Dockerfile (396B)


      1FROM node:18.10.0-slim
      2
      3ENV NODE_ENV=production
      4
      5RUN apt-get update && apt-get install -yq wget socat procps
      6
      7WORKDIR /app
      8
      9COPY ["package.json", "package-lock.json", "./"]
     10
     11# https://github.com/josephg/noisejs
     12RUN wget https://raw.githubusercontent.com/josephg/noisejs/master/perlin.js
     13
     14RUN npm install --omit=dev
     15
     16COPY index.js .
     17
     18CMD socat -T 30 TCP-L:1337,fork,reuseaddr EXEC:"node index.js"