Update Dockerfile to use alpine
goddamn ubuntu and their snap reqs
This commit is contained in:
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
FROM ubuntu:latest
|
FROM alpine:latest
|
||||||
|
|
||||||
# Install dependencies
|
# 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
|
# Set working directory
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
@@ -17,4 +17,4 @@ COPY . .
|
|||||||
VOLUME ./run
|
VOLUME ./run
|
||||||
|
|
||||||
# Run the bot
|
# Run the bot
|
||||||
CMD ["python3", "src/main.py"]
|
CMD ["python3", "src/main.py"]
|
||||||
|
|||||||
Reference in New Issue
Block a user