You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
273 B
Docker

FROM node:10-alpine
RUN apk --no-cache --virtual .build add python make g++ git ca-certificates \
&& mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY . /usr/src/app/
RUN yarn install --pure-lockfile \
&& yarn build \
&& apk del .build
CMD [ "npm", "start" ]