forked from iizukanao/node-rtsp-rtmp-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (24 loc) · 628 Bytes
/
Copy pathDockerfile
File metadata and controls
35 lines (24 loc) · 628 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM node:4-onbuild
################
# App Deps #
################
RUN mkdir /app
WORKDIR /app
# TODO:
# Copy over your application stuff required to load up
# dependencies and then install those dependencies
ADD package.json /app/package.json
RUN npm install -d
RUN npm install -g coffee-script
################
# App Source #
################
# Copy over your apps sourcecode in this section
COPY . /app/
#############
# Conclude #
#############
COPY entrypoint.sh /sbin/entrypoint.sh
RUN chmod +x /sbin/entrypoint.sh
RUN echo ". /sbin/entrypoint.sh" > /root/.bash_history
ENTRYPOINT ["/sbin/entrypoint.sh"]