init commit
This commit is contained in:
11
services/bot/Dockerfile
Normal file
11
services/bot/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
ARG PY_VERSION=3.12
|
||||
FROM python:${PY_VERSION}-slim
|
||||
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1
|
||||
WORKDIR /app
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends tzdata \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY . .
|
||||
RUN chmod +x entrypoint.sh
|
||||
CMD ["./entrypoint.sh"]
|
||||
Reference in New Issue
Block a user