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

25 lines
475 B
Docker
Raw Permalink Normal View History

2019-06-09 21:04:30 +02:00
# Dockerfile for local development just installing dependencies.
# Use together with `docker-compose up`
2018-06-17 02:12:21 +02:00
FROM node:alpine
RUN mkdir -p /portfolio
WORKDIR /portfolio
2018-09-20 00:34:48 +02:00
COPY package.json .
2019-06-09 21:04:30 +02:00
RUN apk add --no-cache --virtual .build-deps \
g++ \
make \
autoconf \
automake \
libtool \
nasm \
libc6-compat \
libjpeg-turbo-dev \
libpng-dev \
git \
bash \
&& rm -rf /var/cache/apk/* \
&& npm install \
&& npm cache clean --force \
&& apk del .build-deps