mirror of
https://github.com/kremalicious/portfolio.git
synced 2024-12-23 01:29:41 +01:00
28 lines
451 B
Docker
28 lines
451 B
Docker
FROM node:alpine
|
|
|
|
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 mkdir -p /portfolio
|
|
WORKDIR /portfolio
|
|
|
|
COPY package.json .
|
|
|
|
RUN npm install --quiet && npm cache clean --force
|
|
|
|
#CMD [ "npm", "run", "dev" ]
|