From 4d0ea40485d8c07db18554fa0654fc069f19c4d9 Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Tue, 20 Dec 2022 19:21:31 +0100 Subject: [PATCH 1/3] Dockerfile - added "curl" for healthcheck --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6a900fb..d539998 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ COPY requirements.txt /tmp/requirements.txt RUN apk update \ && apk add --no-cache --virtual build-deps gcc g++ python3-dev musl-dev \ - && apk add --no-cache postgresql postgresql-dev mariadb-connector-c-dev \ + && apk add --no-cache curl postgresql postgresql-dev mariadb-connector-c-dev \ && pip install --no-cache-dir --upgrade uvicorn \ && pip install --no-cache-dir psycopg2==2.9.3 mysqlclient==2.1.1 pysqlite3==0.4.7 \ && pip install --no-cache-dir -r /tmp/requirements.txt \ From 781dac5278ea1bf7f79f74db6283f064da5199be Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Tue, 20 Dec 2022 19:38:04 +0100 Subject: [PATCH 2/3] Dockerfile - updated dependencies --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d539998..d6bfe31 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN apk update \ && apk add --no-cache --virtual build-deps gcc g++ python3-dev musl-dev \ && apk add --no-cache curl postgresql postgresql-dev mariadb-connector-c-dev \ && pip install --no-cache-dir --upgrade uvicorn \ - && pip install --no-cache-dir psycopg2==2.9.3 mysqlclient==2.1.1 pysqlite3==0.4.7 \ + && pip install --no-cache-dir psycopg2==2.9.5 mysqlclient==2.1.1 pysqlite3==0.5.0 \ && pip install --no-cache-dir -r /tmp/requirements.txt \ && apk del build-deps From 4dbffd2fe09c9934a48f0224dcf024b04f80cc53 Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Tue, 20 Dec 2022 19:42:33 +0100 Subject: [PATCH 3/3] Dockerfile - added missing 'sqlite-dev' package --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d6bfe31..40844d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ COPY requirements.txt /tmp/requirements.txt RUN apk update \ && apk add --no-cache --virtual build-deps gcc g++ python3-dev musl-dev \ - && apk add --no-cache curl postgresql postgresql-dev mariadb-connector-c-dev \ + && apk add --no-cache curl postgresql postgresql-dev mariadb-connector-c-dev sqlite-dev \ && pip install --no-cache-dir --upgrade uvicorn \ && pip install --no-cache-dir psycopg2==2.9.5 mysqlclient==2.1.1 pysqlite3==0.5.0 \ && pip install --no-cache-dir -r /tmp/requirements.txt \