File Dockerfile of Package WebDAV

# Defines the tag for OBS and build script builds:
#!BuildTag: webdav

FROM opensuse/tumbleweed

# Work around https://github.com/openSUSE/obs-build/issues/487
RUN zypper install -y openSUSE-release-appliance-docker

# Put additional files into container
#ADD . README.MY_APPLIANCE
#COPY MY.FILE /opt/my_space

COPY WsgiDAV-4.0.1-py3-none-any.whl /tmp/
RUN zypper -n in python39-pip
RUN zypper -n in python39-cheroot python39-Jinja2 python39-PyYAML python39-json5 python39-defusedxml python39-MarkupSafe

RUN pip install --prefix /usr /tmp/WsgiDAV-4.0.1-py3-none-any.whl --no-index

STOPSIGNAL SIGTERM

CMD wsgidav -c /config.json
openSUSE Build Service is sponsored by