mirror of
https://github.com/kremalicious/portfolio.git
synced 2025-01-03 10:25:00 +01:00
simplify Docker image
This commit is contained in:
parent
c5cbe446f5
commit
3f47580dcf
@ -19,8 +19,6 @@ RUN apk update && \
|
|||||||
libpng-dev \
|
libpng-dev \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
RUN npm install --global gatsby-cli --no-optional
|
|
||||||
|
|
||||||
RUN mkdir -p /portfolio
|
RUN mkdir -p /portfolio
|
||||||
WORKDIR /portfolio
|
WORKDIR /portfolio
|
||||||
VOLUME /portfolio
|
VOLUME /portfolio
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
export PATH="$PATH:/usr/local/bin/gatsby"
|
|
||||||
|
|
||||||
# echo "Running npm install..."
|
# echo "Running npm install..."
|
||||||
# npm install
|
# npm install
|
||||||
|
|
||||||
# rm -rf ./public
|
# rm -rf ./public
|
||||||
gatsby develop --host 0.0.0.0
|
npm start
|
||||||
|
Loading…
Reference in New Issue
Block a user