Updated Dockerfile

This commit is contained in:
Christer Warén 2021-08-07 23:56:43 +03:00
parent 177a405f08
commit ce7d3d633b

View File

@ -1,7 +1,7 @@
FROM node:14.17.1-alpine FROM node:16-alpine
#Dependencies #Dependencies
RUN apk add --virtual .build-deps python make g++ gcc git RUN apk add --virtual .build-deps python3 make g++ gcc git
#Code Dependencies #Code Dependencies
RUN apk add --virtual .code-deps ffmpeg RUN apk add --virtual .code-deps ffmpeg
@ -10,6 +10,8 @@ WORKDIR /usr/src/app
COPY / /usr/src/app/ COPY / /usr/src/app/
RUN npm install -g npm
RUN npm install RUN npm install
CMD [ "npm", "start" ] CMD [ "npm", "start" ]