From 1ec5ba338a1b27f8feb8736e963b9b1793e86bf7 Mon Sep 17 00:00:00 2001 From: muskit <15199219+muskit@users.noreply.github.com> Date: Thu, 1 Feb 2024 15:09:54 -0800 Subject: [PATCH] Update Dockerfile to use alpine goddamn ubuntu and their snap reqs --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"]