Update Dockerfile to use alpine

goddamn ubuntu and their snap reqs
This commit is contained in:
muskit
2024-02-01 15:09:54 -08:00
committed by GitHub
parent 1c6d88ea64
commit 1ec5ba338a
+3 -3
View File
@@ -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"]
CMD ["python3", "src/main.py"]