[mirotalksfu] - slim based docker container

هذا الالتزام موجود في:
Laurent Goussard
2022-06-24 17:37:54 +02:00
الأصل 0f2d152fc1
التزام 0983006e28
2 ملفات معدلة مع 28 إضافات و24 حذوفات

عرض الملف

@@ -1,6 +1,11 @@
FROM node:alpine
FROM node:slim
WORKDIR /src
RUN apk add --update linux-headers alpine-sdk
RUN apk add --update py3-pip
RUN \
apt-get update && \
apt-get install -y build-essential
RUN \
apt update && \
apt install -y python3-pip

عرض الملف

@@ -1,25 +1,24 @@
version: '3'
services:
npm: &npm
image: mirotalksfu-npm:latest
build:
context: .
dockerfile: Dockerfile
container_name: mirotalksfu-npm
volumes:
- .:/src/
command: -v
entrypoint: ['npm']
npm: &npm
image: mirotalksfu-npm:latest
build:
context: .
dockerfile: Dockerfile
container_name: mirotalksfu-npm
volumes:
- .:/src/
command: -v
entrypoint: ['npm']
mirotalksfu:
<<: *npm
container_name: mirotalksfu
hostname: mirotalksfu
restart: unless-stopped
ports:
- '3010:3010/tcp'
- '40000-40100:40000-40100/tcp'
- '40000-40100:40000-40100/udp'
command: start
mirotalksfu:
<<: *npm
container_name: mirotalksfu
hostname: mirotalksfu
restart: unless-stopped
ports:
- '3010:3010/tcp'
- '40000-40100:40000-40100/tcp'
- '40000-40100:40000-40100/udp'
command: start