diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6eff224 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM ubuntu +RUN apt-get update && \ + apt-get install -y build-essential pip net-tools iputils-ping iproute2 curl + +RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - +RUN apt-get install -y nodejs +RUN npm install -g watchify + +EXPOSE 3000 +EXPOSE 2000-2020 +EXPOSE 10000-10100 \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..87ae4ee --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,13 @@ +version: "3" + +services: + linux: + container_name: "ubuntu-linux" + image: "ubuntu" + restart: "always" + tty: true + ports: + - "3000:3000" + - "2000-2020:2000-2020" + volumes: + - .:/app