hullcss-discord-bot/dockerfile

18 lines
375 B
Plaintext
Raw Normal View History

2022-05-15 14:55:23 +01:00
FROM node:16.15.0
# Create the directory!
RUN mkdir -p /usr/src/bot
WORKDIR /usr/src/bot
# Copy and Install our bot
COPY package.json /usr/src/bot
RUN npm install
# Our precious bot
COPY . /usr/src/bot
# Start me!
2022-05-17 10:19:12 +01:00
EXPOSE 5001
2022-05-15 14:55:23 +01:00
VOLUME ["latest"]
HEALTHCHECK --interval=60s --timeout=30s --start-period=180s --retries=5 CMD node extra/healthcheck.js
CMD ["node", "index.js"]