18 lines
460 B
Plaintext
18 lines
460 B
Plaintext
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Install git + certs for HTTPS
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends git ca-certificates && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
# Optional: speed up pip
|
|
RUN pip install --no-cache-dir pip setuptools wheel
|
|
|
|
# Copy only the wrapper scripts (NOT the bot repo)
|
|
COPY docker-entrypoint.sh /app/docker-entrypoint.sh
|
|
RUN chmod +x /app/docker-entrypoint.sh
|
|
|
|
ENTRYPOINT ["/app/docker-entrypoint.sh"]
|