13 lines
294 B
Docker
13 lines
294 B
Docker
FROM python:3.12-slim
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends git \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
COPY ./src/requirements.txt .
|
|
RUN pip install --no-cache-dir -r ./requirements.txt
|
|
|
|
COPY ./src .
|
|
CMD [ "python", "-u", "./main.py" ]
|