From f3ff3c4e4473a2ff52a88f4205d2c064611eba26 Mon Sep 17 00:00:00 2001 From: Emmanuel Narh Date: Tue, 16 Jun 2015 15:36:18 -0500 Subject: [PATCH] Modified Dockerfile Modified Dockerfile to follow best practices highlighted by Docker best practices guide. --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index b619aec..d27ccff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,11 @@ MAINTAINER Emmanuel (Manny) Narh RUN cd /tmp \ && apt-get update \ - && apt-get install xfonts-base -y \ - && apt-get install xfonts-75dpi -y \ + && apt-get install -y \ + xfonts-base \ + xfonts-75dpi \ + xserver-common \ && curl -SLO "http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.2.1/wkhtmltox-0.12.2.1_linux-jessie-amd64.deb" \ - && dpkg -i wkhtmltox-0.12.2.1_linux-jessie-amd64.deb \ - && apt-get install -f -y \ - && apt-get install xserver-common -y + && dpkg -i wkhtmltox-0.12.2.1_linux-jessie-amd64.deb CMD ["node"] \ No newline at end of file