mirror of
https://github.com/rlister/dockerfiles.git
synced 2025-12-12 17:26:15 +00:00
Works around [haste-server issue 97](https://github.com/seejohnrun/haste-server/issues/97) by using a new node version.
Out of the box, this image has stopped working; Debian's change.
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
FROM debian:jessie
|
||||
FROM node:5.4
|
||||
|
||||
MAINTAINER Ric Lister, rlister@gmail.com
|
||||
|
||||
RUN DEBIAN_FRONTEND=noninteractive \
|
||||
apt-get update && \
|
||||
apt-get install -yq \
|
||||
git \
|
||||
nodejs npm
|
||||
git
|
||||
|
||||
RUN git clone https://github.com/seejohnrun/haste-server.git /app
|
||||
WORKDIR /app
|
||||
|
||||
@@ -34,4 +34,4 @@ cat > config.js <<EOF
|
||||
EOF
|
||||
|
||||
## run the server
|
||||
exec /usr/bin/nodejs ./server.js
|
||||
exec /usr/local/bin/node ./server.js
|
||||
|
||||
Reference in New Issue
Block a user