1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-12-23 01:29:41 +01:00
portfolio/Dockerfile

31 lines
505 B
Docker
Raw Normal View History

2018-06-17 02:12:21 +02:00
FROM node:alpine
EXPOSE 8000
RUN apk update && \
apk add --update --repository http://dl-3.alpinelinux.org/alpine/edge/testing \
vips-tools \
vips-dev \
fftw-dev \
gcc \
g++ \
git \
make \
autoconf \
automake \
bash \
libc6-compat \
lcms2-dev \
libpng-dev \
&& rm -rf /var/cache/apk/*
RUN npm install --global gatsby-cli --no-optional
RUN mkdir -p /portfolio
WORKDIR /portfolio
VOLUME /portfolio
COPY ./scripts/entry.sh /
RUN chmod +x /entry.sh
ENTRYPOINT ["/entry.sh"]