Added docker and docker-compose files
This commit is contained in:
parent
cbcc1fa0ca
commit
80b0e1904a
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -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
|
13
docker-compose.yml
Normal file
13
docker-compose.yml
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user