Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +6 -16
Dockerfile
CHANGED
|
@@ -1,16 +1,6 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
#
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
LABEL maintainer="jshelton@contoso.com"
|
| 8 |
-
|
| 9 |
-
# Uses dism.exe to install the IIS role.
|
| 10 |
-
RUN dism.exe /online /enable-feature /all /featurename:iis-webserver /NoRestart
|
| 11 |
-
|
| 12 |
-
# Creates an HTML file and adds content to this file.
|
| 13 |
-
RUN echo "Hello World - Dockerfile" > c:\inetpub\wwwroot\index.html
|
| 14 |
-
|
| 15 |
-
# Sets a command or process that will run each time a container is run from the new image.
|
| 16 |
-
CMD [ "cmd" ]
|
|
|
|
| 1 |
+
FROM node:alpine
|
| 2 |
+
ENV PORT=7860
|
| 3 |
+
# ENV UUID=d342d11e-d424-4583-b36e-524ab1f0afa4
|
| 4 |
+
# EXPOSE 7860
|
| 5 |
+
RUN npm i -g @3kmfi6hp/node-media-server
|
| 6 |
+
CMD ["node-media-server"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|