Browse Source

Create Dockerfile for wetty

pull/5/head
Nathan LeClaire 11 years ago
parent
commit
1421676d17
  1. 15
      Dockerfile

15
Dockerfile

@ -0,0 +1,15 @@
FROM node
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"]
Loading…
Cancel
Save