Skip to content
Snippets Groups Projects
Commit fb7ba515 authored by kuzdogan's avatar kuzdogan
Browse files

Dont use node user in Dokcerfile

parent 9700ed4f
No related branches found
No related tags found
No related merge requests found
......@@ -6,10 +6,11 @@ WORKDIR /home/node/app
COPY package*.json ./
USER node
# USER node
RUN npm install
COPY --chown=node:node . .
COPY . .
# COPY --chown=node:node . .
CMD [ "node", "index.js" ]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment