Skip to content

Commit

Permalink
Removed permissions from dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nagarajaPC-AOT committed Sep 6, 2024
1 parent 2801696 commit f65d7d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app

WORKDIR /home/node/app

COPY --chown=node:node package*.json ./
RUN chmod 755 ./
COPY package*.json ./
# COPY --chown=node:node package*.json ./

USER node

RUN npm install --legacy-peer-deps

COPY --chown=node:node . .
RUN chmod 755 .
COPY . .
# COPY --chown=node:node . .

EXPOSE 7085

Expand Down

0 comments on commit f65d7d3

Please sign in to comment.