This commit is contained in:
parent
c0e8fdf148
commit
407e6fd42b
@ -6,6 +6,4 @@ COPY package*.json pnpm-lock.yaml ./
|
||||
RUN pnpm install --production --silent && mv node_modules ../
|
||||
COPY . .
|
||||
EXPOSE 3000
|
||||
RUN chown -R node /usr/src/app
|
||||
USER node
|
||||
CMD ["node", "src/index.js"]
|
||||
|
Loading…
Reference in New Issue
Block a user