File size: 451 Bytes
bf24412
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM node
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
# A wildcard is used to ensure both
# where available (npm@5+)
RUN npm install git
RUN git clone https://github.com/ikechan8370/sydney-ws-proxy.git
WORKDIR /usr/src/app/sydney-ws-proxy/
RUN npm install
# If you are building your code for production
# Bundle app source
EXPOSE 8080
EXPOSE 443
EXPOSE 80
RUN sed -i '137c\const port = 7860;' app.js
CMD [ "node", "app.js" ]