diff --git a/Dockerfile b/Dockerfile index d0bfa1b..ef295af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,13 @@ WORKDIR /plane-notify COPY . . +# Set the Chrome repo. +RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \ + && echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list + +# Install Chrome. +RUN apt-get update && apt-get -y install google-chrome-stable + # Add pipenv RUN pip install pipenv==2021.5.29 @@ -13,4 +20,4 @@ RUN pipenv install # Added needed folder for plane-notify process RUN mkdir /var/run/plane-notify -CMD pipenv run python /plane-notify/__main__.py +CMD pipenv run python /plane-notify/__main__.py \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index aa50af9..223040b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,7 @@ version: "3.9" services: plane-notify: + platform: linux/amd64 build: context: . volumes: