| 1234567891011121314151617 |
- FROM python:3.14-alpine
- RUN apk add mariadb mariadb-client mariadb-connector-c mariadb-connector-c-dev build-base
- WORKDIR /opt/MyAnimeBot
- COPY requirements.txt .
- RUN pip install --no-cache-dir -r requirements.txt
- COPY . .
- RUN chown -R 0:0 /opt/MyAnimeBot && chmod -R g+rw /opt/MyAnimeBot
- EXPOSE 15200
- CMD ["python", "myanimebot.py"]
|