Update Dockerfile

This commit is contained in:
Julia 2021-09-05 19:46:52 +02:00 committed by GitHub
parent a1b3cbdcd3
commit 4a6c6369db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,11 +1,10 @@
FROM node: FROM node:latest
COPY --chown=node ./src /home/node/bot
USER node 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 RUN npm i
CMD [ "node", "index.js" ] CMD [ "node", "index.js" ]