bing / Dockerfile
pihoue's picture
Upload Dockerfile
bf24412
raw
history blame
451 Bytes
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" ]