b0fbe5af57
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963 - https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-1547196 - https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-1547196 - https://snyk.io/vuln/SNYK-DEBIAN12-TAR-1560620 - https://snyk.io/vuln/SNYK-DEBIAN12-PERL-5489184
22 lines
597 B
Docker
22 lines
597 B
Docker
FROM python:3.13.0b2-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"]
|
|
|
|
ARG version="dev"
|
|
ENV APP_VERSION=$version
|
|
|
|
COPY app /run/app
|