1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-12-22 09:13:19 +01:00

simplify Docker image

This commit is contained in:
Matthias Kretschmann 2018-06-20 23:20:34 +02:00
parent c5cbe446f5
commit 3f47580dcf
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 1 additions and 5 deletions

View File

@ -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

View File

@ -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