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