mise a jour

This commit is contained in:
Abdel-Kader Chabi-Sika-Boni 2020-12-29 01:18:21 +01:00
parent 4b494aae5a
commit 1b2da1bb0b

View file

@ -0,0 +1,18 @@
# Choosing the image to use
FROM node:buster
# Installing required libraries
RUN apt-get -y update && \
apt-get install -y net-tools && \
mkdir server && \
cd server && \
npm install express && \
npm install yargs && \
npm install systeminformation && \
wget http://homepages.laas.fr/smedjiah/tmp/server.js
ENV VIM_EMU_CMD "node /server/server.js --local_ip '127.0.0.1' --local_port '8080' --local_name 'srv'"
#ENV VIM_EMU_CMD_STOP "TODO at shutdown"
# Mandatory entrypoint in containernet
CMD /bin/bash