web-deploy/test.dockerfile

11 lines
195 B
Docker

FROM ubuntu:22.04
RUN apt update \
&& apt install -y nodejs npm \
&& apt clean
WORKDIR /app
COPY package* ./
RUN npm i
COPY process.js ./
COPY test_input/ /deploy/in/
RUN node process.js