diff --git a/Dockerfile b/Dockerfile index 53e0a8c..6407843 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,10 @@ -FROM node: +FROM node:latest + +COPY --chown=node ./src /home/node/bot USER node +WORKDIR /home/node/bot -WORKDIR /home/node -RUN git clone https://github.com/Morphious87/trol-bot trol-bot - -WORKDIR /home/node/trol-bot RUN npm i CMD [ "node", "index.js" ]