From 3f47580dcff981f19afe3d753cd8db4eadb10c48 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 20 Jun 2018 23:20:34 +0200 Subject: [PATCH] simplify Docker image --- Dockerfile | 2 -- scripts/entry.sh | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 42bbb29..f148079 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,8 +19,6 @@ RUN apk update && \ libpng-dev \ && rm -rf /var/cache/apk/* -RUN npm install --global gatsby-cli --no-optional - RUN mkdir -p /portfolio WORKDIR /portfolio VOLUME /portfolio diff --git a/scripts/entry.sh b/scripts/entry.sh index 56e201c..b1b6184 100644 --- a/scripts/entry.sh +++ b/scripts/entry.sh @@ -1,10 +1,8 @@ #!/usr/bin/env bash set -e -export PATH="$PATH:/usr/local/bin/gatsby" - # echo "Running npm install..." # npm install # rm -rf ./public -gatsby develop --host 0.0.0.0 +npm start