mercury/Dockerfile
2023-10-02 02:11:24 +00:00

9 lines
231 B
Docker

FROM node:16
RUN mkdir -p /home/node/app/node_modules \
&& chown -R node:node /home/node/app
WORKDIR /home/node/app
USER node
COPY --chown=node:node package*.json ./
RUN npm i
COPY --chown=node:node . .
CMD [ "node", "bot.js" ]