Commit fdd9aa10 authored by Federico Sismondi's avatar Federico Sismondi

Fixed dockerfile entrypoint

parent dd007930
......@@ -4,7 +4,7 @@ FROM node:10
WORKDIR /usr/src/app
# Bundle app source
COPY . .
# COPY . .
RUN git clone https://github.com/eclipse/thingweb.node-wot
WORKDIR thingweb.node-wot
......@@ -18,4 +18,5 @@ RUN npm install
RUN npm run build
EXPOSE 8080
CMD [ "npm packages/cli/dist/cli.js examples/scripts/counter.js"]
\ No newline at end of file
#CMD [ "npm", "packages/cli/dist/cli.js", "examples/scripts/counter.js"]
ENTRYPOINT [ "node", "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