You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
294 B
15 lines
294 B
FROM node:0.10.38
|
|
MAINTAINER Nathan LeClaire <nathan@docker.com>
|
|
|
|
ADD . /app
|
|
WORKDIR /app
|
|
RUN npm install
|
|
RUN apt-get update
|
|
RUN apt-get install -y vim
|
|
RUN useradd -d /home/term -m -s /bin/bash term
|
|
RUN echo 'term:term' | chpasswd
|
|
|
|
EXPOSE 3000
|
|
|
|
ENTRYPOINT ["node"]
|
|
CMD ["app.js", "-p", "3000"]
|
|
|