From ee7b7f8e75830a3040179968fb4690875bd72db6 Mon Sep 17 00:00:00 2001 From: Mark Harbison Date: Mon, 5 Jun 2023 23:09:30 +0800 Subject: [PATCH] Configuring Dockerfile to build image for AirNotifier v3. --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0f37abd5..557c8018 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.6 +FROM python:3.8 ENV LANG C.UTF-8 ENV LC_ALL C.UTF-8 ENV DEBIAN_FRONTEND=noninteractive TERM=linux @@ -6,11 +6,11 @@ ENV DEBIAN_FRONTEND=noninteractive TERM=linux EXPOSE 8801 RUN apt-get update && \ - apt-get install -y --no-install-recommends git ca-certificates + apt-get install -y --no-install-recommends git ca-certificates build-essential python-dev RUN pip3 install pipenv -RUN git clone -b 2.x https://github.com/airnotifier/airnotifier.git /airnotifier +RUN git clone https://github.com/airnotifier/airnotifier.git /airnotifier RUN mkdir -p /var/airnotifier/pemdir && \ mkdir -p /var/log/airnotifier