Skip to content

Commit

Permalink
Release 1.5.30
Browse files Browse the repository at this point in the history
  • Loading branch information
Lomilar committed Jun 26, 2023
1 parent 1473691 commit ba04737
Show file tree
Hide file tree
Showing 3 changed files with 438 additions and 240 deletions.
2 changes: 1 addition & 1 deletion docker/standalone/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ COPY cass.key CASS/cass.key
COPY pm2.standalone.config.js CASS/pm2.standalone.config.js
COPY copyright.txt CASS/copyright.txt
COPY LICENSE CASS/LICENSE
RUN cd CASS && npm install --omit=dev && npm audit --production fix
RUN cd CASS && npm install --omit=dev && npm audit --production --audit-level=high fix

USER root
RUN echo 'node.name: cass-a' >> config/elasticsearch.yml
Expand Down
3 changes: 2 additions & 1 deletion docker/standalone/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ FROM node:19-bullseye-slim
USER root
WORKDIR /app
COPY package.json ./
RUN npm install --production --omit=dev && npm upgrade --production --omit=dev && npm audit --production --omit=dev --fix && chown root:root node_modules -R
RUN apt update && apt dist-upgrade -y && apt clean
RUN npm install --production --omit=dev && npm upgrade --production --omit=dev && npm audit --production --omit=dev --audit-level=high --fix && chown root:root node_modules -R
COPY src src
EXPOSE 80
CMD node ./src/main/server.js
Loading

0 comments on commit ba04737

Please sign in to comment.