Commit 3a45bb1f authored by Michał 'rysiek' Woźniak's avatar Michał 'rysiek' Woźniak
Browse files

using the right node binary

parent 2c60994b
......@@ -13,10 +13,6 @@ RUN apt-get update && \
--no-install-recommends && \
rm -rf /var/lib/apt/lists/*
# yeah, we need that because bin/ looks for node
# and debian has nodejs
RUN ln -s /usr/bin/nodejs /usr/bin/node
# get the newest nodejs version
RUN npm cache clean -f && npm install -g n && n stable
......@@ -50,4 +46,4 @@ WORKDIR "/opt/hazel"
# command
#CMD ["/opt/hazel/"]
CMD ["/usr/bin/node", "server.js"]
\ No newline at end of file
CMD ["/usr/local/bin/node", "server.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