Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
16 lines
319 B
Docker
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"] |