3
2
forked from Dniel97/artemis
artemis/Dockerfile

22 lines
479 B
Docker
Raw Normal View History

2023-05-04 13:46:16 +00:00
FROM python:3.9.15-slim-bullseye
RUN apt update && apt install default-libmysqlclient-dev build-essential libtk nodejs npm pkg-config -y
2023-05-04 13:46:16 +00: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 17:57:45 +00:00
COPY read.py read.py
2023-05-04 13:46:16 +00:00
ADD core core
ADD titles titles
ADD logs logs
2023-05-04 13:46:16 +00:00
ADD cert cert
2023-10-21 17:57:45 +00:00
ENTRYPOINT [ "/app/entrypoint.sh" ]