21 lines
458 B
Docker
21 lines
458 B
Docker
FROM ubuntu:22.04
|
|
|
|
WORKDIR /app
|
|
|
|
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_18.x | bash -
|
|
RUN apt-get install -y nodejs
|
|
|
|
COPY . /app/
|
|
|
|
RUN npm install
|
|
|
|
EXPOSE 3000/tcp
|
|
EXPOSE 2000-2200/udp
|
|
|
|
CMD node app.js
|
|
|
|
#docker build -t linx-video .
|
|
# docker run -it -d --restart always -p 3000:3000/tcp -p 2000-2200:2000-2200/udp linx-video |