diff --git a/Dockerfile b/Dockerfile index c86e9f0..6b413a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,22 +1,23 @@ -FROM node:12 +FROM node:16 WORKDIR /opt/reports #copy package.json file COPY package.json /opt/reports +#install fonts +RUN apt update && apt install fonts-indic -y \ + && fc-cache -f + #install node packges RUN npm install #copy all files COPY . /opt/reports -#install fonts -RUN apt update && apt install fonts-indic -y \ - && fc-cache -f #expose the application port EXPOSE 3000 #start the application -CMD node app.js +CMD node app.js \ No newline at end of file