# Use a lightweight Node.js 21 image | |
FROM node:21-bullseye | |
# Set working directory | |
WORKDIR /app | |
# Clone the repository (Change the URL to your repo) | |
RUN git clone https://github.com/BLUEXDEMONl/Bored.git /app | |
# Set correct permissions | |
RUN chmod -R 777 /app | |
# Install project dependencies | |
WORKDIR /app | |
RUN npm install | |
# Expose a port | |
EXPOSE 7860 | |
# Start the application | |
CMD ["node", "server.js"] |