From 0bc2228427e9f0eea6ca913894160ac58ef71642 Mon Sep 17 00:00:00 2001 From: muskit <15199219+muskit@users.noreply.github.com> Date: Fri, 26 Jan 2024 02:30:32 -0800 Subject: [PATCH] build: update Dockerfile --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4bffb9e..ebffd89 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -FROM alpine:latest +FROM ubuntu:latest # Install dependencies -RUN apk update && apk add --no-cache python3 py3-pip chromium chromium-chromedriver git +RUN apt update && apt install -y python3 python3-pip chromium-browser chromium-chromedriver git # Set working directory WORKDIR /app @@ -10,11 +10,11 @@ WORKDIR /app COPY requirements.txt . RUN pip3 install -r requirements.txt -# Mount working directory -VOLUME ./run - # Copy source code COPY . . +# Mount working directory +VOLUME ./run + # Run the bot CMD ["python3", "src/main.py"] \ No newline at end of file