node-ejs-renderer/node_modules/node-media-server/Dockerfile

26 lines
690 B
Docker
Raw Normal View History

2024-06-09 13:55:01 -04:00
FROM node:lts-alpine
ARG BUILD_DATE
ARG VCS_REF
LABEL org.label-schema.build-date="${BUILD_DATE}" \
org.label-schema.name="node-media-server" \
org.label-schema.description="A Node.js implementation of RTMP Server" \
org.label-schema.usage="https://github.com/illuspas/Node-Media-Server#readme" \
org.label-schema.vcs-ref="${VCS_REF}" \
org.label-schema.vcs-url="https://github.com/illuspas/Node-Media-Server" \
org.label-schema.vendor="illuspas" \
org.label-schema.version="2.5.0" \
maintainer="https://github.com/illuspas"
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm i
COPY . .
EXPOSE 1935 8000 8443
CMD ["node","bin/app.js"]