diff --git a/Dockerfile b/Dockerfile index ebffd89..494d103 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -FROM ubuntu:latest +FROM alpine:latest # Install dependencies -RUN apt update && apt install -y python3 python3-pip chromium-browser chromium-chromedriver git +RUN apk update && apk add git build-base linux-headers python3 python3-dev py3-pip chromium chromium-chromedriver # Set working directory WORKDIR /app @@ -17,4 +17,4 @@ COPY . . VOLUME ./run # Run the bot -CMD ["python3", "src/main.py"] \ No newline at end of file +CMD ["python3", "src/main.py"]