From c35b159846eff947c899950d5a85a3c51be12636 Mon Sep 17 00:00:00 2001 From: Oleg Kurapov Date: Thu, 8 Nov 2018 21:26:18 +0100 Subject: [PATCH] Dockerfile slimming (#139) * Use node instead of yarn in Dockerfile. Closes #134 * Don't install SSHD in container --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2dafc6e..5beca9d 100644 --- a/Dockerfile +++ b/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