Spaces:
Runtime error
Runtime error
File size: 690 Bytes
ec83114 e09d1ec ec83114 70f576d ec83114 665210b d5c8dfa a94ca4d 665210b ec83114 197efe2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
FROM ghcr.io/puppeteer/puppeteer:latest
# Set environment variables
ENV TOKEN=MTAyOTExOTAzMzEwODM0NDg0Mw.GHRuSg.UJGFPx7vbUBU23sHWzUPastwQXwsi1aWZnKjho \
MSGCHANNEL=1232268387770433566 \
ACCESS_TOKEN=2f763b38ad6c26368f5b6d3c86b2089bb98acfd4 \
CHARACTER_ID=PH7dDFG7FXHnEIcTw8maMJypt142z7HLYqt6Vdz88YE \
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \
PUPPETEER_EXECUTABLE_PATH=/usr/bin/google-chrome-stable
# Set the working directory
WORKDIR /code
# Copy package.json and install dependencies
COPY package.json ./
RUN npm install
# Copy the rest of the application code
COPY . .
# Expose any necessary ports
EXPOSE 7860
# Command to run the application
CMD ["npm", "start"] |