Skip to content

Commit

Permalink
Merge pull request #101 from VISHNUDAS-tunerlabs/release-5.0-for-dock…
Browse files Browse the repository at this point in the history
…er-fix

Docker file changes due to deployment issue
  • Loading branch information
aks30 authored May 20, 2024
2 parents 5cfe626 + c50440d commit 9ab940a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9ab940a

Please sign in to comment.