mirror of
https://github.com/kremalicious/portfolio.git
synced 2024-12-22 17:23:22 +01:00
simplify Docker image
This commit is contained in:
parent
c5cbe446f5
commit
3f47580dcf
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user