Browse Source

Dockerfile slimming (#139)

* Use node instead of yarn in Dockerfile. Closes #134

* Don't install SSHD in container
pull/135/head
Oleg Kurapov 6 years ago
committed by Cian Butler
parent
commit
c35b159846
  1. 4
      Dockerfile

4
Dockerfile

@ -5,5 +5,5 @@ RUN adduser -D -h /home/term -s /bin/sh term && \
echo "term:term" | chpasswd
EXPOSE 3000
COPY . /app
RUN apk add --update build-base python openssh && yarn
CMD yarn start
RUN apk add --update build-base python openssh-client && yarn
CMD node bin

Loading…
Cancel
Save