diff --git a/dockerfile b/dockerfile deleted file mode 100644 index 8dbffd5..0000000 --- a/dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM python:3.11-slim - -WORKDIR /app -ENV PYTHONDONTWRITEBYTECODE=1 \ - PYTHONUNBUFFERED=1 - -# deps first -COPY requirements.txt . -RUN pip install --no-cache-dir -r requirements.txt - -# app code -COPY . /app - -# runtime dirs + seed default config path (actual seeding done in entrypoint) -RUN mkdir -p /config /data - -# runtime env defaults (can be overridden by compose/env) -ENV SHAI_CONFIG=/config/settings.conf \ - SHAI_DATA=/data/data.json - -# small, explicit entrypoint -COPY docker-entrypoint.sh /usr/local/bin/entrypoint -RUN chmod +x /usr/local/bin/entrypoint - -ENTRYPOINT ["entrypoint"] -CMD ["python","-u","/app/bot.py"]