webexmemebot/Dockerfile

19 lines
573 B
Docker
Raw Normal View History

FROM python:3.11.4
2023-07-21 23:57:14 +02:00
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
2023-07-22 00:16:05 +02:00
ENTRYPOINT ["python3", "-B", "-m", "webexmemebot.main"]
2023-07-21 23:57:14 +02:00
2023-07-22 00:16:05 +02:00
COPY webexmemebot /run/webexmemebot