Files
NijiHolo_EN_ID_Bot/Dockerfile
T
muskit 1ec5ba338a Update Dockerfile to use alpine
goddamn ubuntu and their snap reqs
2024-02-01 15:09:54 -08:00

21 lines
399 B
Docker

FROM alpine:latest
# Install dependencies
RUN apk update && apk add git build-base linux-headers python3 python3-dev py3-pip chromium chromium-chromedriver
# Set working directory
WORKDIR /app
# Install pip dependencies
COPY requirements.txt .
RUN pip3 install -r requirements.txt
# Copy source code
COPY . .
# Mount working directory
VOLUME ./run
# Run the bot
CMD ["python3", "src/main.py"]