2023-05-04 15:46:16 +02:00
|
|
|
FROM python:3.9.15-slim-bullseye
|
|
|
|
|
|
|
|
RUN apt update && apt install default-libmysqlclient-dev build-essential libtk nodejs npm -y
|
|
|
|
|
|
|
|
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
|
|
|
|
ADD log log
|
|
|
|
ADD cert cert
|
|
|
|
|
2023-10-21 19:57:45 +02:00
|
|
|
ENTRYPOINT [ "/app/entrypoint.sh" ]
|