Skip to content

Commit

Permalink
Merge pull request #12 from BIDMCDigitalPsychiatry/sarithapillai8-pat…
Browse files Browse the repository at this point in the history
…ch-2

Docker changes
  • Loading branch information
sarithapillai8 authored Feb 14, 2025
2 parents 3dbc303 + c188d09 commit f860cd1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
FROM node:10
FROM node:17.9.0-alpine3.14
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
#Install ca-certificates package
RUN apk update && apk add --no-cache wget ca-certificates

#Download New CA Certificate
RUN wget -O /usr/local/share/ca-certificates/comodoca.crt "https://comodoca.my.salesforce.com/sfc/dist/version/download/?oid=00D1N000002Ljih&ids=0683l00000ENwaHAAT&d=/a/3l000000VZ4M/ie5Sho19m8SLjTZkH_VL8efOD1qyGFt9h5Ju1ddtbKQ&operationContext=DELIVERY&viewId=05HUj00000KwUGpMAN&dpt="

#Update the certificate store
RUN update-ca-certificates
COPY . .
EXPOSE 3000
CMD [ "node", "app.js" ]

0 comments on commit f860cd1

Please sign in to comment.