2023-05-04 15:46:16 +02:00
|
|
|
FROM python:3.9.15-slim-bullseye
|
|
|
|
|
2023-10-19 18:52:10 +02:00
|
|
|
RUN apt update && apt install default-libmysqlclient-dev build-essential libtk nodejs npm pkg-config -y
|
2023-05-04 15:46:16 +02:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt requirements.txt
|
|
|
|
RUN pip3 install -r requirements.txt
|
|
|
|
RUN npm i -g nodemon
|
|
|
|
|
|
|
|
COPY entrypoint.sh entrypoint.sh
|
|
|
|
RUN chmod +x entrypoint.sh
|
|
|
|
|
|
|
|
COPY index.py index.py
|
|
|
|
COPY dbutils.py dbutils.py
|
2023-10-21 19:57:45 +02:00
|
|
|
COPY read.py read.py
|
2023-05-04 15:46:16 +02:00
|
|
|
ADD core core
|
|
|
|
ADD titles titles
|
2023-10-19 18:52:10 +02:00
|
|
|
ADD logs logs
|
2023-05-04 15:46:16 +02:00
|
|
|
ADD cert cert
|
|
|
|
|
2023-10-21 19:57:45 +02:00
|
|
|
ENTRYPOINT [ "/app/entrypoint.sh" ]
|