Files
NijiHolo_EN_ID_Bot/Dockerfile
T

20 lines
380 B
Docker
Raw Normal View History

2024-01-26 02:30:32 -08:00
FROM ubuntu:latest
2024-01-26 01:14:30 -08:00
# Install dependencies
2024-01-26 02:30:32 -08:00
RUN apt update && apt install -y python3 python3-pip chromium-browser chromium-chromedriver git
2024-01-26 01:14:30 -08:00
# Set working directory
WORKDIR /app
# Install pip dependencies
COPY requirements.txt .
RUN pip3 install -r requirements.txt
# Copy source code
COPY . .
2024-01-26 02:30:32 -08:00
# Mount working directory
VOLUME ./run
2024-01-26 01:14:30 -08:00
# Run the bot
CMD ["python3", "src/main.py"]