CoolFace
Apppublic

wangkui/ngrok-test

sourceHugging Faceupdated 4y agoView on Hugging Face
0likes
Dockerfile29 linesDownload Raw Back to root
1# from official image2FROM ubuntu:18.043 4# key-value pairs5# allow more than one6#7LABEL version="1.0"8 9# install package10RUN apt-get update11RUN apt-get install -y curl sudo12RUN curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -13RUN apt-get install -y nodejs14 15# set working directory to /app16WORKDIR /app17 18# copy index.js from current directory into the container at /app19COPY . /app20 21# install need packages specified in package.json22RUN npm install23 24# expose port 7860 for acessing the app25EXPOSE 786026 27 28# run app when container launches29CMD ["node", "app.js"]