This repository has been archived on 2025-02-16. You can view files and clone it, but cannot push or open issues or pull requests.
Spiffo/Dockerfile
Corban-Lee Jones 0e566d9042
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
Versioning and docker builds
2024-12-06 09:44:38 +00:00

16 lines
319 B
Docker

FROM python:3.12.5-slim-bullseye
# python related environment variables
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
WORKDIR /app
# install python dependencies
COPY requirements.txt /app/
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
COPY . /app/
CMD ["python", "bot.py"]