1 changed files with 15 additions and 0 deletions
			
			
		@ -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…
					
					
				
		Reference in new issue