Files
telegram-groupfactory-bot/Dockerfile
Corrado Mulas bcc4bc68bd first commit
2026-06-19 18:02:07 +02:00

18 lines
326 B
Docker

FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY src/ ./src/
COPY entrypoint.sh .
RUN chmod +x entrypoint.sh && \
adduser --disabled-password --gecos '' --uid 1000 appuser && \
chown -R appuser:appuser /app
USER 1000:1000
CMD ["./entrypoint.sh"]