Fix Build Error

build need pkg-config
log folder no need(instead of logs)
This commit is contained in:
kwankaho 2023-10-18 06:46:34 +00:00
parent 24dd677ccf
commit f6036c8548
1 changed files with 1 additions and 2 deletions

View File

@ -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
@ -15,7 +15,6 @@ COPY dbutils.py dbutils.py
ADD core core
ADD titles titles
ADD config config
ADD log log
ADD cert cert
ENTRYPOINT [ "/app/entrypoint.sh" ]