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

31 lines
505 B
Docker

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"]