README / Dockerfile
tuuuupik's picture
Create Dockerfile
721f57f verified
Raw History Blame Contribute Delete
240 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY . /app
RUN apt-get update && apt-get install -y nodejs npm && rm -rf /var/lib/apt/lists/*
RUN npm install && npm run build
RUN pip install -r requirements.txt
ENV PORT=7860
CMD ["python", "bot.py"]