webexmemebot/Dockerfile
dependabot[bot] d2c974b108 chore(docker)(deps): bump python from 3.11-slim to 3.12-slim
Bumps python from 3.11-slim to 3.12-slim.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-24 21:11:32 +00:00

19 lines
549 B
Docker

FROM python:3.12-slim
LABEL maintainer="Luke Tainton <luke@tainton.uk>"
LABEL org.opencontainers.image.source="https://github.com/luketainton/webexmemebot"
USER root
ENV PYTHONPATH="/run:/usr/local/lib/python3.11/lib-dynload:/usr/local/lib/python3.11/site-packages:/usr/local/lib/python3.11"
WORKDIR /run
RUN mkdir -p /.local && \
chmod -R 777 /.local && \
pip install -U pip
COPY requirements.txt /run/requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
ENTRYPOINT ["python3", "-B", "-m", "app.main"]
COPY app /run/app