Add Dockerfile for uptime-bot deployment
This commit is contained in:
1 parent
58583921bb
commit
a1d00b1944
1 file changed
+15
@@ -0,0 +1,15 @@
|
|||||||
|
FROM node:18-alpine
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
# Kopieer package files
|
||||||
|
COPY package*.json ./
|
||||||
|
|
||||||
|
# Installeer dependencies
|
||||||
|
RUN npm install --production
|
||||||
|
|
||||||
|
# Kopieer bot code
|
||||||
|
COPY bot.js ./
|
||||||
|
|
||||||
|
# Start de bot
|
||||||
|
CMD ["node", "bot.js"]
|
||||||
Reference in new issue
Block a user