deploy dockerfile

This commit is contained in:
Milka64 2023-12-26 15:32:21 +01:00
parent 30e89ba49c
commit ccde0ff81d
6 changed files with 19 additions and 1 deletions

11
Dockerfile Normal file
View file

@ -0,0 +1,11 @@
FROM python:3.11
WORKDIR /usr/src/kabot
ENV CONFIG_FILE=/data/config.ini
COPY kabot ./
COPY config.ini.sample /data/config.ini
COPY entrypoint.sh /
RUN pip install --no-cache-dir /usr/src/kabot/
CMD [ "/entrypoint.sh" ]