导入数据库表和音视频demo
This commit is contained in:
16
media-server-demo-node/Dockerfile
Normal file
16
media-server-demo-node/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
# Use the current Long Term Support (LTS) version of Node.js
|
||||
FROM node:16
|
||||
|
||||
# Copy the signalling server source code from the build context
|
||||
COPY ./ /opt/media-server
|
||||
|
||||
# Install the dependencies for the signalling server
|
||||
WORKDIR /opt/media-server
|
||||
RUN npm install --registry=https://registry.npmmirror.com
|
||||
|
||||
EXPOSE 28000
|
||||
|
||||
|
||||
|
||||
# Set the signalling server as the container's entrypoint
|
||||
CMD ["sh","/opt/media-server/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user