Created
November 7, 2019 03:02
-
-
Save KittyKatt/4595de8dae9942eb45bb534c4b2d0b15 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# base our image on latest node | |
FROM node:latest | |
# create the bot directory | |
RUN mkdir -p /usr/src/bot | |
RUN mkdir -p /usr/src/bot/img | |
WORKDIR /usr/src/bot | |
# copy package.json and install dependencies | |
COPY package.json /usr/src/bot | |
RUN npm install | |
# copy bot files | |
COPY app.js settings.json /usr/src/bot/ | |
COPY img /usr/src/bot/img | |
# start bot | |
CMD ["node", "app.js"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment