Reversed order to benefit from cache

This commit is contained in:
Christer Warén 2020-08-15 02:35:39 +03:00
parent 9f5c455401
commit 3590e67eef

View File

@ -1,11 +1,15 @@
FROM node:13.14.0-alpine FROM node:13.14.0-alpine
#Dependencies
RUN apk add --virtual .build-deps python make g++ gcc
#Dependencies for RadioX Bot
RUN apk add --virtual .radiox-deps ffmpeg
WORKDIR /usr/src/app WORKDIR /usr/src/app
COPY / /usr/src/app/ COPY / /usr/src/app/
RUN apk add --virtual .build-deps python make g++ gcc
RUN npm install RUN npm install
CMD [ "npm", "start" ] CMD [ "npm", "start" ]