From b4a0736f7bde2113c1acc6c0793a3d1672f73b98 Mon Sep 17 00:00:00 2001 From: Rylie Date: Sun, 5 Nov 2023 11:09:52 +0700 Subject: [PATCH 1/2] fix(docker): add pkg-config for docker build process --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 507f01f..3e1d02c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM python:3.9.15-slim-bullseye -RUN apt update && apt install default-libmysqlclient-dev build-essential libtk nodejs npm -y +RUN apt update && apt install default-libmysqlclient-dev build-essential libtk nodejs npm pkg-config -y WORKDIR /app COPY requirements.txt requirements.txt From 040742a9a4e00efa162f55450a370a79ece91d53 Mon Sep 17 00:00:00 2001 From: Rylie Date: Sun, 5 Nov 2023 11:10:01 +0700 Subject: [PATCH 2/2] fix(docker): rename `log` to `logs` for consistency --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3e1d02c..81252b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ COPY dbutils.py dbutils.py COPY read.py read.py ADD core core ADD titles titles -ADD log log +ADD logs logs ADD cert cert ENTRYPOINT [ "/app/entrypoint.sh" ]