Added docker and docker-compose files

This commit is contained in:
Sergiu Toma 2022-07-30 09:53:40 +03:00
parent cbcc1fa0ca
commit 80b0e1904a
2 changed files with 24 additions and 0 deletions

11
Dockerfile Normal file
View 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
View 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