Cian Butler
8 years ago
committed by
GitHub
2 changed files with 6 additions and 3 deletions
@ -0,0 +1 @@ |
|||||
|
node_modules |
@ -1,7 +1,9 @@ |
|||||
FROM node:boron-alpine |
FROM node:boron-alpine |
||||
MAINTAINER Nathan LeClaire <nathan@docker.com> |
|
||||
ADD . /app |
|
||||
WORKDIR /app |
WORKDIR /app |
||||
RUN apk add --update build-base python perl && yarn |
RUN adduser -D -h /home/term -s /bin/sh term &&\ |
||||
|
echo "term:term" | chpasswd |
||||
EXPOSE 3000 |
EXPOSE 3000 |
||||
|
ADD . /app |
||||
|
RUN apk add --update build-base python perl openssh &&\ |
||||
|
yarn |
||||
CMD yarn start |
CMD yarn start |
||||
|
Loading…
Reference in new issue