Commit dd007930 authored by Federico Sismondi's avatar Federico Sismondi

automated iut dockerfile for node-wot

parent 137d9414
FROM node:10
# Create app directory
WORKDIR /usr/src/app
# Bundle app source
COPY . .
RUN git clone
WORKDIR thingweb.node-wot
RUN npm install
#RUN curl -sL | sudo -E bash -
#RUN apt-get install -y nodejs
#RUN npm install
# If you are building your code for production
# RUN npm install --only=production
RUN npm run build
CMD [ "npm packages/cli/dist/cli.js examples/scripts/counter.js"]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment